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.
After calling set(), has() returns true for that key.
Challenge: Verify that has() returns true immediately after set().