{Weak|}{Map|Set}

Brendan Eich brendan at mozilla.com
Thu Sep 15 00:10:02 PDT 2011


On Sep 14, 2011, at 11:09 PM, Allen Wirfs-Brock wrote:

> I would prefer ObjectMap (the keys are restricted to objects).

Now that you point it out (again), I agree.

People who know a bit about GC also confuse WeakMap with WeakRef/WeakPtr, which we have only in the strawman space:

http://wiki.ecmascript.org/doku.php?id=strawman:weak_references

/be



More information about the es-discuss mailing list