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]);
}
 
PREVIOUS NEXT
Tagged: #iterate #array #js
ADD COMMENT
Topic
Name
2+6 =