the type of the key
the type of the value
Constructs a new Map.
the number of buckets to spread entries across
initial entries to add to the map.
The current size of this map.
The 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.
the key of the element to test for presence in the Map object
true
if the key is currently associated with a value within the map, otherwise returns false
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.