Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
sleep
ramytamer
Jan 25th, 2015
216
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 June 2024 FIX🤑
GetText | 17 sec ago | 0.36 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 1 min ago | 0.31 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 7 min ago | 0.33 KB
💲 G2A.com Free Gift Card Guide 06 June 2024 💲
GetText | 10 min ago | 0.36 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 14 min ago | 0.33 KB
🤑 G2A.com Free Gift Card Guide Jun 2024 FIX 🤑
GetText | 15 min ago | 0.39 KB
🤑G2A.com Free Gift Card Guide June 2024 FIX🎁
GetText | 23 min ago | 0.36 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 26 min ago | 0.34 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!