Bah, they're plenty weak about the key, it's fine.
But jayzus, Ephemeron would have been a terrible name.
-
-
-
IIRC the originally proposed name was in fact EphemeronTable.
- 1 more reply
New conversation -
-
-
I'm now confused about what weak means
. What would you have to hypothetically change in WeakMap for it to be weak, and would it be useful functionality? -
It's just that a `WeakMap` only refers weakly to its contents once the key is garbage-collected. Until then, it refers strongly to its contents. `WeakRef`s are the more powerful, truly weak primitive that you really want. cc @ulandeg
@mlippautz - 3 more replies
New conversation -
-
-
Hm, what would be correct semantics for precisely named Promise.race?

-
The name is just not very clear, even within Promise jargon.
End of conversation
New conversation -
-
-
Maps and sets aren't ordered in JS unless I have a misunderstanding of what you're referring to?
-
They are ordered!
- 4 more replies
New conversation -
-
-
Ephemeron would not have been a better name. I'd have preferred SideTable but I was too late in joining TC39.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
More reasons for me to stick with ES5.
-
"Many were increasingly of the opinion that they'd all made a big mistake coming down from the trees in the first place, and some said that even the trees had been a bad move, and that no-one should ever have left the oceans."
(meant in gentle good humour) - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
JavaScript WeakMaps are not actually weak: they refer strongly to their contents as long as the key is alive.
This brings the list of imprecisely-named ECMAScript APIs to:
Map → OrderedMap