Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to wait a determined amount of time before doing something in js

setTimeOut(()=>{ /*function*/
  console.log("Hello, world");
}, 3000 /*Time in milliseconds*/)
 
PREVIOUS NEXT
Tagged: #wait #determined #amount #time #js
ADD COMMENT
Topic
Name
6+5 =