Skip to content

Commit 2c3c4e5

Browse files
addaleaxMyles Borins
authored and
Myles Borins
committed
doc: reference list of language-specific globals
Fixes: #6894 PR-URL: #6900 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
1 parent 5a1a0b5 commit 2c3c4e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/globals.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
These objects are available in all modules. Some of these objects aren't
66
actually in the global scope but in the module scope - this will be noted.
77

8+
The objects listed here are specific to Node.js. There are a number of
9+
[built-in objects][] that are part of the JavaScript language itself, which are
10+
also globally accessible.
11+
812
## Class: Buffer
913

1014
<!-- type=global -->
@@ -209,3 +213,4 @@ but rather than loading the module, just return the resolved filename.
209213
[`setImmediate`]: timers.html#timers_setimmediate_callback_arg
210214
[`setInterval`]: timers.html#timers_setinterval_callback_delay_arg
211215
[`setTimeout`]: timers.html#timers_settimeout_callback_delay_arg
216+
[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects

0 commit comments

Comments
 (0)