Quiz: Count and Repeat
Explore your understanding of JavaScript loops through a quick quiz designed to reinforce key concepts. This lesson helps you practice automating repetitive tasks efficiently, preparing you to apply these skills in upcoming mini-projects and real coding challenges.
We'll cover the following...
We'll cover the following...
...
Technical Quiz
1.
What will this for loop do?
for (let i = 5; i > 0; i--) {
console.log(i);
}
A.
Print 1 to 5
B.
Print 0 to 4
C.
Print 5 to 1
D.
Print 4 to 0
1 / 3
...