Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

javascript loop array

var arr = ['a', 'b', 'c'];

arr.forEach(item => {
	console.log(item);
});
Source by codeit.codes #
 
PREVIOUS NEXT
Tagged: #javascript #loop #array
ADD COMMENT
Topic
Name
2+1 =