Loops in JS

for, while, do...while, for...of, for...in — do you know which one to reach for, plus the classic off-by-one and infinite-loop traps?

8 questions · 30 minutes

JS Foundations — Concept Checks

Tech Session

Loops in JS

Preview

for, while, do...while, for...of, for...in — do you know which one to reach for, plus the classic off-by-one and infinite-loop traps?

8Questions
30 minTime limit
60%Passing score
Unlimited — latest score keptAttempts
One at a time