Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript sleep 1 second

setTimeout(function(){
  //do something 循环内容
  //1000=wait time millionsecond 等待时间 1000毫秒
}, 1000);
Source by alvarotrigo.com #
 
PREVIOUS NEXT
Tagged: #javascript #sleep
ADD COMMENT
Topic
Name
4+1 =