The entries of this Set. Stored internally as an array.
The size of this Set. This is the number of entries within it. Changing the size will truncate the Set if the given value is smaller than the current size. Increasing the size larger than the current size has no effect.
Returns true if this Set contains the given value, otherwise returns false.
The value to check for in this Set.
Dumps the contents of this Set to the console via console.group.
Passes each value in this Set to the given callback.
Use this function when you know this Set will be modified during the iteration, otherwise use iterate.
The callback to be invoked and passed each value this Set contains.
OptionalcallbackScope: anyThe scope of the callback.
Get an element of this Set which has a property of the specified name, if that property is equal to the specified value.
If no elements of this Set satisfy the condition then this method will return null.
The property name to check on the elements of this Set.
The value to check for.
Returns an array containing all the values in this Set.
Passes each value in this Set to the given callback.
For when you absolutely know this Set won't be modified during the iteration.
The callback must return a boolean. If it returns false then it will abort
the Set iteration immediately. If it returns true, it will carry on
iterating the next child in the Set.
The callback to be invoked and passed each value this Set contains.
OptionalcallbackScope: anyThe scope of the callback.
A Set is a collection of unique elements.