Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

es6 loop through object

for (var [key, value] of phoneBookMap) {
  console.log(key + "'s phone number is: " + value);
}
Source by hacks.mozilla.org #
 
PREVIOUS NEXT
Tagged: #loop #object
ADD COMMENT
Topic
Name
9+8 =