Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
sleep
ramytamer
Jan 25th, 2015
215
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
sleep
(
milliseconds
)
{
var
start
=
new
Date
(
)
.
getTime
(
)
;
for
(
var
i
=
0
;
i
<
1e7
;
i
++
)
{
if
(
(
new
Date
(
)
.
getTime
(
)
-
start
)
>
milliseconds
)
{
break
;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 25 min ago | 0.39 KB
_parse_scene.py as of 2024-05-16
Python | 27 min ago | 13.75 KB
_compile_scene.py as of 2024-05-16
Python | 28 min ago | 14.51 KB
Setup Accounts V3
Lua | 30 min ago | 10.73 KB
Button Detection rev_02
Arduino | 1 hour ago | 1.71 KB
EasyButton Events rev_01
Arduino | 1 hour ago | 1.71 KB
is_VIP
Python | 1 hour ago | 0.35 KB
goaccess.py
Python | 1 hour ago | 0.48 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!