Changes

Jump to: navigation, search

JavaScript Flow Control and Looping

1 byte added, 17:32, 31 May 2007
JavaScript ''for'' loops
The ''conditional expression'' specifies the test to perform to verify whether the loop has been performed the required number of times. For example, if we want to loop 100 times:
i < 10100
Finally the ''loop expression'' specifies the action to perform on the counter variable. For example to increment by 1:

Navigation menu