Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sleep(miliseconds) {
- var currentTime = new Date().getTime();
- while (currentTime + miliseconds >= new Date().getTime()) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement