Comment #1 on issue 1954 by [email protected]: Octal escape sequences (octal literals) with less than three digits should throw a SyntaxError in strict mode
http://code.google.com/p/v8/issues/detail?id=1954

This bug only seems to occur for `\0` — other single-digit octal escape sequences throw a SyntaxError as expected.

    (function() { "use strict"; console.log("\1"); }());
    // SyntaxError: Octal literals are not allowed in strict mode.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to