Loops
8 min · JavaScript
Repeat work without writing it out a hundred times.
JavaScript · Loops0/5 cleared
Enemy 1 of 5
A for loop repeats a block. It has three parts: a start, a condition to keep going, and a step.
This counts i from 0 while i is less than 3, adding 1 each time.
You
Pincer Crab
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: 0
1
2