Removal of WeakMap/WeakSet clear

Andrea Giammarchi andrea.giammarchi at
Thu Nov 27 06:58:20 PST 2014

On Thu, Nov 27, 2014 at 2:44 PM, Andreas Rossberg <rossberg at>
> Well, there is no functionally correct polyfill for WeakMaps that is
> actually weak, regardless of .clear.
Please bear with me so I understand your point: if you have `o1` and `o2`
and ` = o2;`, wouldn't `o2` be "free" once `o1` is not referenced
anymore ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list