The key type.
The value type.
Readonly
[toReadonly
sizeStatic
Readonly
[species]true if an element in the Map existed and has been removed, or false if the element does not exist.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
Returns an iterable of values in the map
A
Map
that returns default values for keys that are not present.To map strings to
Set
s of numbers, for example,DefaultMap
can be used like this: