TC39
{Map, WeakMap, etc}.prototype.getRef(key)
💡 Ideas
simonkcleung
January 10, 2022, 3:28pm
8
I don't think it is possible because it is an invalid syntax.
show post in topic
Related topics
Topic
Replies
Views
Activity
Weak/Map and Weak/Set `put(key, value): value` anyone?
💡 Ideas
proposal
2
149
July 28, 2026
Overloadable data accesor operator
💡 Ideas
10
875
October 29, 2021
Atomic map operators
💡 Ideas
12
539
December 5, 2022
Native WeakValueMap
💡 Ideas
12
522
June 17, 2024
Map and set getters to give a way to get an item at an order
💡 Ideas
34
570
June 22, 2026