Status: New
Owner: ----
New issue 1958 by [email protected]: `SyntaxError: Unexpected token ILLEGAL`
when using a valid JavaScript identifiers
http://code.google.com/p/v8/issues/detail?id=1958
According to http://es5.github.com/x7.html#x7.6 (spec),
http://mathiasbynens.be/notes/javascript-identifiers (summary), and
http://mothereff.in/js-variables#a%5Cu200d (validator), `a\u200d` is a
valid JavaScript identifier.
However, JavaScriptCore doesn’t seem to support it:
var a\u200d; // throws SyntaxError: Unexpected token ILLEGAL
I believe this is a spec violation.
Attachments:
js-identifier-bug.html 187 bytes
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev