ES4 draft LAST CALL: Object

Lars Hansen lhansen at adobe.com
Fri Mar 21 07:24:44 PDT 2008


It is.  Thanks.  --lars 

> -----Original Message-----
> From: P T Withington [mailto:ptwithy at gmail.com] On Behalf Of 
> P T Withington
> Sent: 21. mars 2008 05:24
> To: Lars Hansen
> Cc: es4-discuss at mozilla.org
> Subject: Re: ES4 draft LAST CALL: Object
> 
> The `!` here appears to be a type-oh:
> > Private function __defineProperty__(name, value, enumerable,  
> > removable, writable) { if (!magic::hasOwnProperty(this, 
> name)) throw  
> > new TypeError(/* Property exists */);
> 
> On 2008-03-20, at 17:11 EDT, Lars Hansen wrote:
> > The only substantive change since the previous draft is a rename of
> > __createProperty__ to __defineProperty__ in order to mirror 
> the names
> > __defineSetter__ and __defineGetter__.  The latter two are 
> not in ES4
> > but in some browsers and could be expanded to accept additional  
> > flags to
> > control enumerability and so on.
> >
> > --lars
> > <Object.html>_______________________________________________
> > Es4-discuss mailing list
> > Es4-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es4-discuss
> 
> 



More information about the Es4-discuss mailing list