Answers for "What is the purpose of setTimeout in JavaScript?"

150

javascript settimeout

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

Code answers related to "What is the purpose of setTimeout in JavaScript?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language