Re:WebAssembly Browser Preview
by Sophistifunk on Monday October 31, 2016 @07:47PM
(#12842024)
JavaScript also lacks (and apparently will always lack) a weak reference type, which Flash supports at the very core, for example weak event handlers.
[ Parent
| on HN ]
WeakMap holds a weak reference to the _key_, not the _value_. That's not enough to do weak event handlers, for example...
Re:WebAssembly Browser Preview
by Sophistifunk on Wednesday November 02, 2016 @04:52PM
(#12859164)
It can't be used because they refuse to allow iteration.