Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript sleep 1 second

setTimeout(() =>{
  console.log("This is a callback to be executed after 1 second");
},1000);
Source by alvarotrigo.com #
 
PREVIOUS NEXT
Tagged: #javascript #sleep
ADD COMMENT
Topic
Name
7+8 =