ES4 stable draft: object initializers

Jeff Dyer jodyer at
Thu Apr 17 13:12:15 PDT 2008

On 4/15/08 4:38 PM, Waldemar Horwat wrote:

> The grammar doesn't work:
> {meta::prototype:17}
> can be parsed as either a FieldName or as the meta::prototype production.  To
> make parsing unambiguous you can't allow "meta" to be included in
> AnyIdentifier (or implement some other similar fix).

I'd be happy if we spelled "meta::prototype" as "__prototype__" for this use


More information about the Es4-discuss mailing list