Answers for "online time"

93

what time is it

time for u to get a watch
Posted by: Guest on August-18-2020
0

set timer

const prompt = require('prompt-sync')();
//You gotta download prompt-sync by doing npm i prompt-sync
var time = prompt("Give time in seconds: ")
time = parseInt(time)
setInterval(function(){
    console.log(time)
    if(time = 0){
        console.log("Time over")
    }
    else{
    time = time - 1}
}, 1000);
Posted by: Guest on October-12-2020
-1

time

seriously? go check your clock at your house -_-
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language