ES4 draft: Object initializers

Lars Hansen lhansen at adobe.com
Fri Mar 21 08:19:21 PDT 2008


A bug: repeated fields are also disallowed if the object initializer has
a type annotation.

In summary, only object initializers that look like ES3 initializers are
allowed to have repeated fields (for backward compatibility).

--lars

> -----Original Message-----
> From: es4-discuss-bounces at mozilla.org 
> [mailto:es4-discuss-bounces at mozilla.org] On Behalf Of Lars Hansen
> Sent: 20. mars 2008 16:43
> To: es4-discuss at mozilla.org
> Subject: ES4 draft: Object initializers
> 
> I've attempted to sum up everything we have decided about 
> object initializers (aka object literals).  A short draft 
> spec is included.
> Comments welcome from everyone, especially from ES4 WG 
> members who might remember about things I've forgotten, or 
> correct misunderstandings.
> 
> --lars
> 



More information about the Es4-discuss mailing list