ES4 stable draft: object initializers

Lars Hansen lhansen at adobe.com
Thu Apr 17 13:12:48 PDT 2008


Presumably that would be __proto__ so that we would not be gratuitously
incompatible with Firefox.

--lars 

> -----Original Message-----
> From: Jeff Dyer 
> Sent: 17. april 2008 16:12
> To: Waldemar Horwat; Lars Hansen
> Cc: es4-discuss at mozilla.org
> Subject: Re: ES4 stable draft: object initializers
> 
> 
> 
> 
> 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 case.
> 
> Jd
> 
> 



More information about the Es4-discuss mailing list