0
Write a program-timer, that will take the count of seconds as input and output to the console all the seconds until timer stops.
From 0to 10 anyone help me
5 Answers
+ 3
Use the prompt() function to get user input.
Use setTimeout() to do something after a certain time - in this case, call a function which will print the remaining time, and if it's more than zero, call itself again.
https://www.w3schools.com/jsref/met_win_settimeout.asp
0
I can't understand
0
Rohit kumar What you didnt understand?
0
Thank uhhâ€ïž