Search
The map.get() method returns the value of a key. We need to pass the key as argument. If the key is not present, it returns undefined.
map.get()
undefined