javascript weakmaps should be iterable

from blog wingolog, | ↗ original
Good evening. Tonight, a brief position statement: it is a mistake for JavaScript’s WeakMap to not be iterable, and we should fix it.story timeA WeakMap associates a key with a value, as long as the key is otherwise reachable in a program. (It is an ephemeron table.)When WeakMap was added to JavaScript, back in the ES6 times, some implementors thought that it could...