JavaScript Lessson 9

JavaScript For Loop Statement

Lesson 8 Lesson 10

Notes:

for loop statement:

  • Loops are handy, if you want to run the same code over and over again, each time with a different value.
  • The for loop loops through a block of code a number of times.