What will be the output of the following code?
console.log(myMap.get(2));
const myMap = new Map();
myMap.set(1, 'apple');
myMap.set(2, 'banana');
myMap.set(3, 'orange');
What will be the output of the following code?
console.log(myMap.get(2));
const myMap = new Map();
myMap.set(1, 'apple');
myMap.set(2, 'banana');
myMap.set(3, 'orange');