what is the use of the function setInterval in node code example
Example: setinterval nodejs
setInterval(function () {
console.log("Every 5 secondes");
}, 5000);
console.log("now");
setInterval(function () {
console.log("Every 5 secondes");
}, 5000);
console.log("now");