What will be the output of the following code?
var myMap = new Map();
myMap.set("a", 1);
myMap.set("b", 2);
myMap.set("c", 3);
for (let entry of myMap) {
console.log(entry);
}
What will be the output of the following code?
var myMap = new Map();
myMap.set("a", 1);
myMap.set("b", 2);
myMap.set("c", 3);
for (let entry of myMap) {
console.log(entry);
}