Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-FeatureRequest Priority-Medium ES5

New issue 786 by [email protected]: Allow reserved words as property names
http://code.google.com/p/v8/issues/detail?id=786

It seems that the handling of reserved words as changed from ES3 to ES5. Some of the places where it used to say Identifier it now says IdentifierName which allows keywords:

var o = { true: value };
o.true;

is now valid.

This makes fast/js/reserved-words-as-property.html layout test fail. The test was added in http://trac.webkit.org/changeset/63566/.


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

Reply via email to