Javascript provides settimeout function to execute after specified time. Below is an example of it
setTimeout(function(){ console.log("Worked") }, 5000);
Above function will be executed after 5 seconds.
Thank you.
Javascript provides settimeout function to execute after specified time. Below is an example of it
setTimeout(function(){ console.log("Worked") }, 5000);
Above function will be executed after 5 seconds.
Thank you.