Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Looping arrays with for loop

let items = ["cakes", "banana", "managoes"];
			for (let i = 0; i < items.length; i++) {
				console.log(items[i]);
			}
Source by codingbat.com #
 
PREVIOUS NEXT
Tagged: #Looping #arrays #loop
ADD COMMENT
Topic
Name
7+7 =