2013/3/26 Juan Ignacio Dopazo <[email protected]> > 2013/3/25 Erik Arvidsson <[email protected]> > >> WeakMap would not work in this specific case since a WeakMap cannot be >> iteratered. >> > > I thought there was an iterable WeakSet for ES6. Was it postponed to ES7 > or just dropped? >
I doubt there was ever an *iterable* WeakSet proposal, since iteration would make GC of the weakly held values observable. This is exactly the same reason why WeakMap isn't iterable. Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

