CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

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

Topics

While Loop Countdown

JavaScript quiz · Question 5
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}