CJCoding With Joseph
15per day
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
JavaScript Quiz #5

While Loop Countdown

easyLoops

If you start with let count = 5 and run the loop below, what numbers are logged?

📄 Code

1let count = 5;
2while (count > 0) {
3 console.log(count);
4 count--;
5}