Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate array

for (let [key,val] of array.entries()) {
  console.log([key,val]);
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #iterate #array
ADD COMMENT
Topic
Name
8+2 =