Answers for "settimeout js"

151

javascript settimeout

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

javascript settimeout

setTimeout(function(){ alert("Hello"); }, 3000);
Posted by: Guest on September-13-2019
26

timeout javascript

setTimeout(function(){
 	//code goes here
}, 2000); //Time before execution
Posted by: Guest on April-13-2020
19

js settimeout

setTimeout(() => { alert('Hello') }, 1000)
Posted by: Guest on February-03-2020
6

set timeout javascript

setTimeout( () => {
 	alert("J'aime les chats"); 
}, 2000);//wait 2 seconds
Posted by: Guest on March-06-2021
0

settimeout js

//You can also send a argument along with a timed call
setTimeout(your_fun(bob), 1000)

function your_fun(name) { //Prints "Hello world! bob" after one second
	alert("Hello world! " + name);
}
Posted by: Guest on October-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language