Is \u006eew a valid Identifier?
Eric Suen
eric.suen.tech at gmail.com
Sat Nov 7 19:34:32 UTC 2015
Like Caitlin said, logically
Escaped ReservedWords is IdentifierName
Escaped ReservedWords is not ReservedWord
Identifier is IdentifierName but not ReservedWord
Escaped ReservedWords is not Identifier?
I'm writing javascript parser myself, those inconsistency really confuse me...
On Sun, Nov 8, 2015 at 2:07 AM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
>
>> On Nov 7, 2015, at 9:58 AM, Eric Suen <eric.suen.tech at gmail.com> wrote:
>>
>> I see, I thought you were refer 'get'/'set'. Indeed escaped
>> ReservedWords should be ReservedWords.
>>
>> Class a = \u006eew Class()
>>
>> is valid in Java and C#.
>
> But not in ECMAScript 2015. JavaScript is neither Java or C#
>
>
>
--
------------------------------------------------
Spket IDE - Development Tool for RIA.
http://www.spket.com
More information about the es-discuss
mailing list