Returns the value associated to the key
, or undefined
if there is none.
name | type | description |
---|---|---|
key | string |
The key of the element to return from the |
The element associated with the specified key or undefined
if the key can't be found in this Map object.