ES4 draft LAST CALL: Object

P T Withington ptw at pobox.com
Fri Mar 21 05:24:29 PDT 2008


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