Controlling DontEnum (was: ES4 draft: Object)

Neil Mix nmix at pandora.com
Tue Mar 11 15:21:50 PDT 2008


On Mar 11, 2008, at 5:16 PM, Kris Zyp wrote:

> Declarative is nice, but as mentioned before, it ignores one of the  
> primary
> use cases: addition of non-enumerable properties to built-ins (by  
> libraries,
> primarily).

I've read mention of the weirdness of the timing window between the  
property definition and it's marking as non-enumerable.  That combined  
with the above observation makes me wonder if this should really be  
obj.__setNonEnumerableProperty__(name, value);



More information about the Es4-discuss mailing list