Actual WeakSet Use Cases

Benjamin Gruenbaum inglor at gmail.com
Mon Apr 29 14:50:28 UTC 2019


Funny to see the issue is still discussed, I've actually used WeakSets a
bunch in the last few years.

Here's code from last weak that detects with a mutation observer when a new
iframe is
 attached to the DOM (simplified):
https://gist.github.com/benjamingr/9afb875d1d87377e7e66b166cf1905b5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190429/3c6bdd57/attachment.html>


More information about the es-discuss mailing list