Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js spleep

function sleep(delay) {
    var start = new Date().getTime();
    while (new Date().getTime() < start + delay);
}
 
PREVIOUS NEXT
Tagged: #js #spleep
ADD COMMENT
Topic
Name
9+1 =