settout jquery code example
Example 1: settimout jquery
setTimeout(function(){ alert("Hello"); }, 3000);
Example 2: javascript settimeout
window.setTimeout(()=>{
console.log('1 second passed!');
}, 1000);
setTimeout(function(){ alert("Hello"); }, 3000);
window.setTimeout(()=>{
console.log('1 second passed!');
}, 1000);