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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
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

+5
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)