setTimeout and setInterval
console.log("Start");
// setTimeout runs a function once after a specified delay (in milliseconds).
// setTimeout(callback, delay, arg1, arg2, ...);
// callback → function to execute
// delay → time in milliseconds before execution
// arg1, arg2... ...
pushpesh-js-articles.hashnode.dev1 min read