JSFiddle - React, Tailwind, and code Playground
by Sunil Garg
JavaScript
function cb(){
setTimeout(console.log("After 30 sec"),3000);
}
(function checkCb(){
console.log("Start");
cb();
console.log("End");
})();
//checkCb();
by Sunil Garg
function cb(){
setTimeout(console.log("After 30 sec"),3000);
}
(function checkCb(){
console.log("Start");
cb();
console.log("End");
})();
//checkCb();