deletebeginnerconst m = new Map([['a', 1], ['b', 2]])
m.delete('a') // β true
m.delete('z') // β false
console.log(m.size) // β 1Use Map.delete() to remove a key; it returns true if the key existed.
Deleting the same key twice: first returns true, second returns false.
Challenge: Verify that the second delete of the same key returns false.