Answers for "set timeout on for coutdown"

150

javascript settimeout

setTimeout(function(){
 	alert("Sup!"); 
}, 2000);//wait 2 seconds
Posted by: Guest on June-27-2019
5

settimeout

// Run anonymous function after 5,000 milliseconds (5 seconds)
setTimeout(() => {
	// Run code
}, 5000);
Posted by: Guest on February-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language