Weak event listener

Brandon Benvie bbenvie at mozilla.com
Tue Mar 26 13:26:44 PDT 2013

On 3/26/2013 1:03 PM, David Bruant wrote:
> I'm starting to wonder whether bringing weakrefs is equivalent to 
> having iterable WeakMaps... And if so, why not make WeakMaps iterable?
This is a question I had as well. An iterable WeakMap is nearly the same 
as a Map full of WeakRefs, is it not? Just a different API that is less 
usable for single references and more usable for collections.

More information about the es-discuss mailing list