Le 21/12/2011 13:47, Andreas Rossberg a écrit :
> In particular, I don't consider the
> above example a good idea in real code, with or sans proxies. You
> shouldn't go off mutating arbitrary objects, and it won't work with
> non-extensible objects anyway (at least that's what I gather as the
> current state of discussion regarding private names and freezing). A
> map seems far more adequate for that.
Of course. The only purpose of this example was to show that an
equivalent leak could occur without the specific use of 'this'. I don't
know to what extent this code was interesting or if it could have been
implemented more efficiently or more expressively.

David
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to