Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript for...of index

for (const [i, v] of ['a', 'b', 'c'].entries()) {
  console.log(i, v)
}
 
PREVIOUS NEXT
Tagged: #javascript #index
ADD COMMENT
Topic
Name
8+5 =