🏠 New in High Baseline Support: WeakSet
March 30, 2018
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.
Source features
javascript.builtins.WeakSet
[mdn]javascript.builtins.WeakSet.WeakSet
[mdn]javascript.builtins.WeakSet.add
[mdn]javascript.builtins.WeakSet.delete
[mdn]javascript.builtins.WeakSet.has
[mdn]javascript.builtins.WeakSet.WeakSet.null_allowed
[mdn]javascript.builtins.WeakSet.WeakSet.iterable_allowed
[mdn]javascript.builtins.WeakSet.symbol_as_keys
[mdn]