the type of the key
the type of the value
Readonly
[toProtected
_sizeThe current size of this map.
Protected
Readonly
bucketsThe buckets for storing key/value pairs. The outer array is the bucket location, with the inner array being the bucket for the entries.
Returns a boolean asserting whether a value has been associated to the key in the Map object or not.
true
if the key is currently associated with a value within the map, otherwise returns false
the key of the element to test for presence in the Map object
A drop-in replacement for the default ECMA Map implementation that uses hashes keys based on the string view of an Object.
Unlike the default ECMA Map implementation, this version does not maintain insertion order and does not make any guarantees on iteration order nor does enforce key identity equivalency when attempting to look up a mapping. This allows this implementation to store and compare objects that are equal, but not necessarily the same instance.
The hashing algorithm is based on that of Java's HashMap.