Answers for "how are you supposed to use the settimeout function in javascript"

223

javascript settimeout

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

set timeout javascript

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

Code answers related to "how are you supposed to use the settimeout function in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language