Widely Available
Collections
id: weakmap
WeakMap
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.
Baseline Status:
Achieved Widely Available on Jan 29, 2018 (Cross-browser Newly Available since Jul 29, 2015).
Desktop Browser Engine Support
Google Chrome
36
Supported
Mozilla Firefox
6
Supported
Apple Safari
8
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
36
Firefox Android
6
Safari iOS
8
Specifications and References
MDN Browser Compat Data Keys:
javascript.builtins.WeakMap ↗
javascript.builtins.WeakMap.WeakMap ↗
javascript.builtins.WeakMap.WeakMap.iterable_allowed ↗
javascript.builtins.WeakMap.WeakMap.null_allowed ↗
javascript.builtins.WeakMap.delete ↗
javascript.builtins.WeakMap.get ↗
javascript.builtins.WeakMap.has ↗
javascript.builtins.WeakMap.set ↗
javascript.builtins.WeakMap.symbol_as_keys ↗