From 2c3c4e5819df222df1c4073f9d11297fc4828cd5 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 20 May 2016 19:40:17 +0200 Subject: [PATCH] doc: reference list of language-specific globals Fixes: https://github.com/nodejs/node/issues/6894 PR-URL: https://github.com/nodejs/node/pull/6900 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Robert Jefe Lindstaedt --- doc/api/globals.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/globals.markdown b/doc/api/globals.markdown index c699b2e9d71b2a..f70c52aae4904e 100644 --- a/doc/api/globals.markdown +++ b/doc/api/globals.markdown @@ -5,6 +5,10 @@ These objects are available in all modules. Some of these objects aren't actually in the global scope but in the module scope - this will be noted. +The objects listed here are specific to Node.js. There are a number of +[built-in objects][] that are part of the JavaScript language itself, which are +also globally accessible. + ## Class: Buffer @@ -209,3 +213,4 @@ but rather than loading the module, just return the resolved filename. [`setImmediate`]: timers.html#timers_setimmediate_callback_arg [`setInterval`]: timers.html#timers_setinterval_callback_delay_arg [`setTimeout`]: timers.html#timers_settimeout_callback_delay_arg +[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects