Returns the number of key-value pairs in the Map object.
Map
size
let map = new Map() map.set("one", 1).set("two", 2).set("three", 3) map.size
3