getter & setter for private objects
Brendan Eich
brendan at mozilla.com
Mon Nov 2 12:19:22 PST 2009
The upshot for memolus is that with is already a deoptimizer that
introduces non-lexical names onto the scope chain. These can be
gettters and setters and have arbitrary effects. My point remains that
adding getters and setters to activations, which are modeled lexically
in the absence of eval, in strict mode in ES5, and under other such
conditions, is a non-starter.
/be
More information about the es-discuss
mailing list