Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate over map key value javascript

recipeMap.forEach((value, key) => {
	console.log(`${key} costs ${value}`);
});
Source by javascript.info #
 
PREVIOUS NEXT
Tagged: #iterate #map #key #javascript
ADD COMMENT
Topic
Name
6+3 =