Updates:
Status: WorkingAsIntended
Owner: [email protected]
Comment #3 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
It's neither bug nor "feature" - it's required behavior.
The \0 is a string escape representing the <NUL> character.
See http://es5.github.com/#x7.8.4 :
EscapeSequence :: 0 [lookahead ∉ DecimalDigit]
I.e., it's not an octal escape.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev