Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate array

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