Array-backed set. Trades memory for iteration speed
Readonly
Read-only array of values in the set.
Number of entries in the set.
Add value v to the set.
v
Value
Self
Get value at index.
index
Index into backing array
Value or undefined
undefined
Clear the map.
Delete entry for value v.
true if an entry was removed
true
Check if a value exists in the set.
true if value exists
Get index of value v in the backing array. Can be used to index ArraySet.values and ArrayMap.values.
Index or undefined
Array-backed set. Trades memory for iteration speed