getbeginnerconst m = new Map([['name', 'Alice']])
m.get('name') // β 'Alice'
m.get('missing') // β undefinedUse Map.get() to retrieve the value associated with a key.
get(key) returns the value associated with the key.
Challenge: Verify that get() returns the stored value.