Optional entries: Iterable<readonly [K, V]>Optional comparator: ((a, b, c?, d?) => number)Optional c: VOptional d: VReadonly [toReadonly sizeStatic Readonly [species]The forEach() method executes a provided function once per each key/value pair in the Map object, in insertion order.
Function to execute for each entry in the map.
Optional thisArg: anyValue to use as this when executing callback.
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
If the specified key is not already associated with a value associates it with the given value and returns that value, else returns the current value.
key with which the specified value is to be associated
value to be associated with the specified key
the previous value associated with the specified key, or the specified value if there was no mapping for the key.
Returns a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive.
low endpoint (inclusive) of the keys in the returned map
high endpoint (exclusive) of the keys in the returned map
a view of the portion of this map whose keys range from fromKey, inclusive, to toKey, exclusive
Returns a view of the portion of this map whose keys are greater than or equal to fromKey.
low endpoint (inclusive) of the keys in the returned map
a view of the portion of this map whose keys are greater than or equal to fromKey
Returns
the number of elements in the Map.