All lessons

Loops

8 min · TypeScript

Repeat work without writing it out a hundred times.

TypeScript · Loops0/5 cleared

Enemy 1 of 5

A for loop has a start, a condition, and a step. This counts 0, 1, 2.

You
Pincer Crab

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: 0 1 2