🏠 New in High Baseline Support: WeakMap
January 29, 2018
A WeakMap
object holds key-value pairs that do not create strong references to its keys, such that value data can be associated with a key without preventing garbage collection of the key.
Source features
javascript.builtins.WeakMap
[mdn]javascript.builtins.WeakMap.WeakMap
[mdn]javascript.builtins.WeakMap.delete
[mdn]javascript.builtins.WeakMap.get
[mdn]javascript.builtins.WeakMap.has
[mdn]javascript.builtins.WeakMap.set
[mdn]javascript.builtins.WeakMap.WeakMap.null_allowed
[mdn]javascript.builtins.WeakMap.WeakMap.iterable_allowed
[mdn]javascript.builtins.WeakMap.symbol_as_keys
[mdn]