Controlling DontEnum (was: ES4 draft: Object)

Kris Zyp kris at
Tue Mar 11 15:16:36 PDT 2008

> It seems wrong that the code should run once one way, and then another
> way, but there be no way back. It's not so much that I think there
> should be a way back, but I'd rather that than this, which I consider
> a weird situation.

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, 

> Also the double underscores are really ugly
> syntax...

That's the idea, no one is currently using such an ugly method ;).


More information about the Es4-discuss mailing list