Comment #10 on issue 1972 by [email protected]: Incorrect treatment of
unicode escapes in keywords
https://code.google.com/p/v8/issues/detail?id=1972
ATM the spec draft also says:
The ReservedWord definitions are specified as literal sequences of specific
SourceCharacter elements. A code point in a ReservedWord cannot be
expressed by a \ UnicodeEscapeSequence.
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-reserved-words
So... based on this, I don't think
v\u0061r x = 0
eval("v\\u0061r y = 1")
should be illegal.
However, what yangguo@ said above still holds, so these should be illegal:
var v\u0061r = 9
eval("var v\\u0061r = 9")
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.