On 20 December 2011 11:51, Xavier MONTILLET <[email protected]> wrote:
> Well what about you add an if that checks whether scope is used or not
> and if it is disables these optimizations?

That's what's done for things like the `arguments' object. And it's an
ugly mess, in terms of semantics as well as implementation. I believe
it's fair to say that it is widely considered a misfeature these days.
(ES is moving away from it, as well as from the global object.)

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to