Skip to content

Commit 4877279

Browse files
committed
Add timers to globals section
Closes GH-864.
1 parent 5c35dff commit 4877279

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/api/globals.markdown

+7
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,10 @@ Example: running `node example.js` from `/Users/mjr`
5959
A reference to the current module. In particular
6060
`module.exports` is the same as the `exports` object. See `src/node.js`
6161
for more information.
62+
63+
### setTimeout(cb, ms)
64+
### clearTimeout(t)
65+
### setInterval(cb, ms)
66+
### clearInterval(t)
67+
68+
The timer functions are global variables. See the [timers](timers.html) section.

0 commit comments

Comments
 (0)