Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterate through array js

var arr = ["f", "o", "o", "b", "a", "r"]; 
for(var i in arr){
	console.log(arr[i]);
}
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #iterate #array #js
ADD COMMENT
Topic
Name
1+4 =