iterate object map javascript code example
Example: iterate over map key value javascript
recipeMap.forEach((value, key) => {
console.log(`${key} costs ${value}`);
});
recipeMap.forEach((value, key) => {
console.log(`${key} costs ${value}`);
});