Re:Java Polyfill for the Browser
by jvilk on Sunday May 08, 2016 @06:13PM
(#11656231)
I misspoke -- you can polyfill WeakSet, but you cannot polyfill WeakMap, since you do not know when you can shrink the map. (But you still cannot use it to emulate weak references, since you need a strong reference to get data out of the map.)
[ Parent
| on HN ]
There are no comments on this comment yet.