Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate array

for (let [key,val] of array.entries()) {
  console.log([key,val]);
}
Source by kitt.lewagon.com #
 
PREVIOUS NEXT
Tagged: #iterate #array
ADD COMMENT
Topic
Name
1+9 =