xxxxxxxxxx
// ["a_1", "b_2", "c_3"]
map.map((key, value) => key + "_" + value);
xxxxxxxxxx
for (const [key, value] of myMap.entries()) {
console.log(key, value);
}
xxxxxxxxxx
const arr=[1,2,3,40]
const newArr=arr.map((e)=>{
return e;
})
array.map basically returns all the element of the array and store elements in the new
array