Comment #13 on issue 2222 by [email protected]: Drop the "escaped reserved
words as identifiers" compatibility measure
https://code.google.com/p/v8/issues/detail?id=2222
This bug also leads to strange behavior for the case of the `this` keyword
specifically:
$ d8 -e "var this;"
unnamed:1: SyntaxError: Unexpected token this
var this;
^^^^
SyntaxError: Unexpected token this
...but
$ d8 -e "var thi\u0073;"
unnamed:1: TypeError: Identifier 'this' has already been declared
var thi\u0073;
^
TypeError: Identifier 'this' has already been declared
at unnamed:1:1
--
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.