Glossary Term
Map.prototype.get()
The get() method of Map instances returns the value corresponding to the key in this Map, or undefined if there is none. Object values are returned as the same reference that was originally stored, not as a copy, so mutations to the returned object will be reflected anywhere that reference is held, including inside the Map.
Return value: The value associated with the specified key in the Map object. If the key can’t be found, undefined is returned.
Parameters: key The key of the value to return from the Map object. Object keys are compared by reference, not by value.
Syntax example: get(key)
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
