new Set(…)
Creates a new Set object.Set.Set([iterable])
[Symbol.iterator]()
Returns a new Iterator object that yields the values for each element in the Set object in insertion order.s[Symbol.iterator]()
[Symbol.toStringTag]
The initial value of the @@toStringTag property is the String value "Set".s[Symbol.toStringTag]
add(…)
Appends a new element with a specified value to the end of a Set object.s.add(value)
clear()
Removes all elements from a Set object.s.clear()
delete(…)
Removes the specified element from a Set object.s.delete(value)
entries()
Returns a new Iterator object that contains an array of [value, value] for each element in the Set object.s.entries()
forEach(…)
Calls callbackFn once for each value present in the Set object, in insertion order.s.forEach(callbackFn, [thisArg])
has(…)
Returns a boolean indicating whether an element with the specified value exists in a Set object or not.s.has(value)
keys()
Returns a new Iterator object that contains the values for each element in the Set object.s.keys()
Set.prototype
The prototype of the Set constructor.Set.prototype
size
Returns the number of values in the Set object.s.size
values()
Returns a new Iterator object that contains the values for each element in the Set object.s.values()