Skip to content
need help with countdown function
Profile icon
thakurjngshh8

Write your function 'countdown' here
// For example with the argument '3', it should log:
// countdown(3)
/*
3
2
1
Blast off!
*/

You are viewing a single comment. View All
Profile icon
RYANTADIPARTHI

i'm not sure about node.js, but you can make on in normal javascript.

https://stackoverflow.com/questions/20618355/the-simplest-possible-javascript-countdown-timer