Unit 2-Lesson 4: Arrays and Loops
Statement starts by declaring the variable i and initializing it to 0. It checks that i is less than 9, performs the two succeeding statements, and increments i by 1 after each pass through the loop.
for (var i = 0; i , 9; i++) {
console.log(i);
//more statements
}