Weak event listener
Mark S. Miller
erights at google.com
Tue Mar 26 12:18:31 PDT 2013
WeakSet may or may not happen by ES6. But even if it doesn't, WeakSet is
trivially shimmable on WeakMap.
WeakRef will definitely not happen earlier than ES7. I do hope it will
happen in ES7, but this discussion has yet to happen.
On Tue, Mar 26, 2013 at 4:30 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:
> On Tue, Mar 26, 2013 at 12:28 PM, Rick Waldron <waldron.rick at gmail.com>
> > On Tue, Mar 26, 2013 at 12:23 PM, Domenic Denicola
> > <domenic at domenicdenicola.com> wrote:
> >> From: Rick Waldron [waldron.rick at gmail.com]
> >> > TC39 reached consensus on the inclusion of WeakSet, though it needs to
> >> > be designed:
> >> >
> >> >
> >> Is this ES6 timeframe, or ES7? I have run into a few use cases for it
> >> since hearing this, and was hoping it was on-track.
> > The discussion immediately preceding that discussion indicates that
> > will be a requirement of Proxy:
> Note that this requirement is conditional on a particular approach
> (which I still favor) to the interaction between proxies and private
> names, and so since that's still up in the air, the WeakSet
> requirement for ES6 may go away.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss