const m1 = new Map()
const m2 = new Map([['x', 1], ['y', 2]])
console.log(m2.size) // β 2Use the Map constructor to create a new map, optionally passing an array of entries.
new Map(iterable) accepts an iterable of [key, value] pairs.
Challenge: Verify that new Map([['a', 1], ['b', 2]]).size equals 2.