simple example with for "for loop" in javascript Example: for loop javascript var i; for (i = 0; i < 10 ; i++) { //do something }