Answers for "node timers"

3

settimeout node js

setTimeout(function () {
    console.log("5 secondes"); 
}, 5000); 
console.log("now");
Posted by: Guest on April-03-2020
4

setinterval nodejs

setInterval(function () {
    console.log("Every 5 secondes"); 
}, 5000); 
console.log("now");
Posted by: Guest on April-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language