Answers for "why we use setTimeout"

150

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 "Javascript"

Browse Popular Code Answers by Language