Skip to content

Glossary: JavaScript Basics

for loop

Also written: for

A loop that puts the start, condition and step of counting on one line, like `for (let bags = 1; bags <= 3; bags++)`.

Where the book teaches it

Related terms

whilefor...ofIteration