Defined in: packages/ember-metal/lib/map.js:221
Internally, a Map has two data structures:
keys: an OrderedSet of all of the existing keys
When a key/value pair is added for the first time, we add the key to the
keys OrderedSet, and create or replace an entry in
values. When an entry is deleted, we delete its entry in
Removes a value from the map for an associated key.
Iterate over all the keys and values. Calls the function once for each key, passing in value, key, and the map being iterated over, in that order.
The keys are guaranteed to be iterated over in insertion order.
Retrieve the value associated with a given key.
Check whether a key is present.
Adds a value to the map. If a value for the given key has already been provided, the new value will replace the old value.
This property will change as the number of objects in the map changes.
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.