Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
6+8 =