Answers for "settimeout .then"

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
1

settimeout javascript

//setTimeout having  parameater 
//1. function
//2. time in mili second
//parm1 , parm2 ........
setTimeout(function(){
 	console.log("DARK_AMMY"); 
}, 2000);//wait 2 seconds
Posted by: Guest on May-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language