Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate array javascript

array = [ 1, 2, 3, 4, 5, 6 ]; 
for (index = 0; index < array.length; index++) { 
    console.log(array[index]); 
} 
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #iterate #array #javascript
ADD COMMENT
Topic
Name
3+2 =