Stores a set of objects with weak references to them, allowing them to be garbage collected. Can be iterated over, unlike a WeakSet.
Optional
The initial entries.
Private
The backing iterable weak map.
Add a value to the set.
The value to add.
Delete a value from the set.
The value to delete.
Whether this set contains the given value.
The value to test.
Enumerate the collection.
Clear all values from the set.
Enumerate the values.
Stores a set of objects with weak references to them, allowing them to be garbage collected. Can be iterated over, unlike a WeakSet.