next up previous
Next: While statement Up: JavaScript Control Statements Previous: if ...else

for loops

The basic syntax is:

for(counter = 0; count <= n; count++)

Use as with Java and Perl.



Dave Marshall
9/28/2001