Optionalvalues: Optionaliterable: Readonly[toReadonlysizeStatic Readonly[species]Appends a new element with a specified value to the end of the Set.
Removes a specified value from the Set.
Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
Returns an iterable of [v,v] pairs for every value v in the set.
Executes a provided function once per each value in the Set object, in insertion order.
OptionalthisArg: any
The term types a position or a variable may hold, ordered by set inclusion.
Example