Answers for "js then() timeout"

28

timeout javascript

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

setTimeout() Method in javascript

// setTimeout() Method in javascript
function setTimeoutFunction() {
    setTimeout(function(){ console.log("This message will display after 5 seconds"); }, 5000);
  }
  setTimeoutFunction();
Posted by: Guest on December-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language