Answers for "how to set a timeout on an alert in javascript"

6

set timeout javascript

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

javascript set timeout

setTimeout(function(){
 	console.log("hello");
}, 3000); //wait for atleast  3 seconds before console logging
Posted by: Guest on July-10-2020

Code answers related to "how to set a timeout on an alert in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language