Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setTimeout() Method in javascript

// setTimeout() Method in javascript
function setTimeoutFunction() {
    setTimeout(function(){ console.log("This message will display after 5 seconds"); }, 5000);
  }
  setTimeoutFunction();
Source by www.runoob.com #
 
PREVIOUS NEXT
Tagged: #Method #javascript
ADD COMMENT
Topic
Name
6+2 =