why do for loop does not work when I use increment operations for the arrays

javascript loop through array of objects
javascript for loop array
write statements to declare the array and assign the values to the corresponding positions.
for loop in array
for loop example
print 1 to 10 numbers in javascript using for loop
while loop javascript
for loop java