Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to loop through an array

int[] numbers = {1,2,3,4,5};
for (int i = 0; i < numbers.length; i++) {
	System.out.println(i);
}
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #loop #array
ADD COMMENT
Topic
Name
8+6 =