Comment #2 on issue 1097 by [email protected]: native and const should be usable as regular identifiers
http://code.google.com/p/v8/issues/detail?id=1097

Only native is a valid identifier, but const is a FutureReservedWord in both stict and non-strict mode.

I.e.,
 var native = 1;
is valid ES5.

Allowing "const" is as a declaration is a spec extension, the spec only allows it as a property name.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to