hasbeginnerconst m = new Map([['a', 1]])
m.has('a') // β true
m.has('z') // β falseUse Map.has() to check whether a key exists in the map.
has() returns false for a key not in the Map.
Challenge: Verify that has() returns false for a missing key.