Murat Sutunc (2013-11-04T05:55:51.000Z)
domenic at domenicdenicola.com (2013-11-12T19:37:00.522Z)
According to the latest draft, it is allowed to express a ReservedWord using Unicode Escape Sequences: The ReservedWord definitions are specified as literal sequences of specific SourceCharacter elements. However, any code point in a ReservedWord can also be expressed by a \ UnicodeEscapeSequence that expresses that same Unicode code point. Use of such escape sequences does not change the meaning of the ReservedWord. Because of the last sentence the following should now give an error on all of the implementations: ```js var v\u0061r = 1 ; //err ``` However, if my understanding is correct, it will also enable the following usage: ```js v\u0061r x = 1 ; //works ``` The second example was also previously mentioned in the [bug 277](https://bugs.ecmascript.org/show_bug.cgi?id=277) but there's no clear resolution to it. Is the second example expected to work or are we just disallowing unicode escape sequenced keywords in identifier position?