This website requires JavaScript.
Explore
Help
Register
Sign In
daohualiuxiang
/
node
mirror of
https://github.com/nodejs/node.git
Watch
1
Star
0
Fork
You've already forked node
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f5f7cb9264
node
/
benchmark
/
timers.js
6 lines
100 B
JavaScript
Raw
Blame
History
function
next
(
i
)
{
if
(
i
<=
0
)
return
;
setTimeout
(
function
(
)
{
next
(
i
-
1
)
;
}
,
1
)
;
}
next
(
700
)
;
Reference in New Issue
View Git Blame
Copy Permalink