What will be the size of the myMap after this code runs?
const myMap = new Map();
myMap.set('a', 1);
myMap.set('b', 2);
- 0
- 1
- 2
- undefined
0
voters
What will be the size of the myMap after this code runs?
const myMap = new Map();
myMap.set('a', 1);
myMap.set('b', 2);
:: Copyright KIRUPA 2024 //--