Loading

T4 JavaScript · Lesson 6

Games: Loops

Choose the right option, fill in the blanks, write small pieces of code and fix broken ones. Code runs in a safe box inside this page.

Solved 0 of 45 items in this lesson.

1 / 21

What does this print?

let n = 0;
for (let i = 0; i < 4; i++) {
  n++;
}
console.log(n);

Back to the lesson