TLDR Web Dev · QUICK LINKS

JAVASCRIPT WEAKMAPS SHOULD BE ITERABLE

wingolog.org4 min read

Summary from the TLDR Web Dev newsletter

JavaScript's WeakMap should be made iterable, as the original motivation for its non-iterability is no longer valid and the current workaround using FinalizationRegistry is inefficient and non-standard.