DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js sleep
function sleep(ms) { var start = new Date().getTime(); while (new Date().getTime() < start + ms); }
Source by www.sitepoint.com #
PREVIOUS
NEXT
Tagged:
#js
#sleep
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit