📝 JavaScript garbage collection doesn't work how I expected when it comes to closures. TIL!
jakearchibald.com/2024/garba…
Jul 30, 2024 · 4:33 PM UTC
40
143
814
75,802
Some updates:
➡️ An IIFE is enough to trigger this leak
➡️ It's a cross-browser issue
➡️ There are other articles on this (some lower-level)
➡️ No, this isn't due to eval()
jakearchibald.com/2024/garba…
5
3
52
6,391










