Add timers to globals section

Closes GH-864.
pull/22966/head
Ryan Dahl 2011-04-01 09:19:00 -07:00
parent 5c35dff419
commit 4877279efa
1 changed files with 7 additions and 0 deletions

View File

@ -59,3 +59,10 @@ Example: running `node example.js` from `/Users/mjr`
A reference to the current module. In particular A reference to the current module. In particular
`module.exports` is the same as the `exports` object. See `src/node.js` `module.exports` is the same as the `exports` object. See `src/node.js`
for more information. for more information.
### setTimeout(cb, ms)
### clearTimeout(t)
### setInterval(cb, ms)
### clearInterval(t)
The timer functions are global variables. See the [timers](timers.html) section.