Sign In
Curriculum
Countdown
Mark as Completed
Countdown
Write a function called
countdown
that takes a number as an argument and logs all the numbers from that number down to 0 using a while loop.
Click to go back
Click to go forward
Refresh preview
Console
Submit
Solution
00:00
Previous Lesson
Next Lesson