logo
logo

Countdown

Beginner

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.
Console
Submit
Solution
00:00