Creates a new ObjectSet and optionally seeds it with values.
An optional iterable of values to add to the set.
Returns the string literal 'Set' for use by Object.prototype.toString. This allows for identifying Sets without checking constructor identity.
Returns the number of members in the set.
Returns an IterableIterator of each member of the set.
Remove all values from the set.
Returns an iterable two-member tuples for each item in the set, where the item is provided twice.
Part of the ES2015 Set specification for compatibility with Map objects.
Invokes a callback once for each member of the set.
The function to invoke with each set member
The this
context on which to invoke the callback
Returns an IterableIterator of each member of the set.
Returns an IterableIterator of each member of the set.
A set of numeric values represented internally as NumberValue objects. Equality is determined by the string representation of the number and not by the identity or data type of the provided value.