Alpha
Alpha
Create a new DefaultMap
with a specified default value.
Time complexity: O(n)
Space complexity: O(n)
The default value to use for missing keys
Optional
entries: null | Iterable<readonly [unknown, unknown]>Alpha
Create a new DefaultMap
with a specified function to generate default values.
Time complexity: O(n)
Space complexity: O(n)
The function to generate default values
Optional
entries: null | Iterable<readonly [unknown, unknown]>Readonly
Alpha
[toReadonly
Alpha
sizeStatic
Readonly
Alpha
[species]
A DefaultMap with methods for performing basic math operations that mutate the data.