Public Questions for tag [sleep]

Ask Question

1 questions


0

Vote

4

Answers

34

View

Is there a better way to engineer a sleep in JavaScript than the following pausecomp function?function pausecomp(millis) { var date = new Date(); var curDate = null; do { curDate = new

Jan 17