itera sobre o valor do mapa JavaScript
recipeMap.forEach((value, key) => {
console.log(`${key} costs ${value}`);
});
skjaved
recipeMap.forEach((value, key) => {
console.log(`${key} costs ${value}`);
});
let map1 = new Map();
map1.set('name', 'Jack');
map1.set('age', '27');
// looping through the Map
for (let key of map1.keys()) {
console.log(key)
}