Widely Available
Collections
id: weakset
WeakSet
A
WeakSet object stores unique values of any type without creating strong references to the values, such that membership in the set does not prevent garbage collection of the value.
Baseline Status:
Achieved Widely Available on Mar 30, 2018 (Cross-browser Newly Available since Sep 30, 2015).
Desktop Browser Engine Support
Google Chrome
36
Supported
Mozilla Firefox
34
Supported
Apple Safari
9
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
36
Firefox Android
34
Safari iOS
9
Specifications and References
MDN Browser Compat Data Keys:
javascript.builtins.WeakSet ↗
javascript.builtins.WeakSet.WeakSet ↗
javascript.builtins.WeakSet.WeakSet.iterable_allowed ↗
javascript.builtins.WeakSet.WeakSet.null_allowed ↗
javascript.builtins.WeakSet.add ↗
javascript.builtins.WeakSet.delete ↗
javascript.builtins.WeakSet.has ↗
javascript.builtins.WeakSet.symbol_as_keys ↗