This example sets a variable to 0 and increments it by 1 until its value is ten. If it is less than 10 it prints the current value of the variable on the screen.
This Browser does not support Javascript or has it turned off!