Easy
What will be the output of the following code? (maps)
1const map = new Map();2map.set("a", 1);3map.set("b", 2);4map.set("a", 3);56console.log(map.get("a"));7console.log(map.size);
1const map = new Map();2map.set("a", 1);3map.set("b", 2);4map.set("a", 3);56console.log(map.get("a"));7console.log(map.size);