diff --git a/doc/api/globals.md b/doc/api/globals.md index 8b112c467d0acb..7e6129e9038aa2 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -17,7 +17,7 @@ The objects listed here are specific to Node.js. There are [built-in objects][] that are part of the JavaScript language itself, which are also globally accessible. -## Class: Buffer +## Class: `Buffer` @@ -28,15 +28,15 @@ added: v0.1.103 Used to handle binary data. See the [buffer section][]. -## \_\_dirname +## `__dirname` This variable may appear to be global but is not. See [`__dirname`][]. -## \_\_filename +## `__filename` This variable may appear to be global but is not. See [`__filename`][]. -## clearImmediate(immediateObject) +## `clearImmediate(immediateObject)` @@ -45,7 +45,7 @@ added: v0.9.1 [`clearImmediate`][] is described in the [timers][] section. -## clearInterval(intervalObject) +## `clearInterval(intervalObject)` @@ -54,7 +54,7 @@ added: v0.0.1 [`clearInterval`][] is described in the [timers][] section. -## clearTimeout(timeoutObject) +## `clearTimeout(timeoutObject)` @@ -63,7 +63,7 @@ added: v0.0.1 [`clearTimeout`][] is described in the [timers][] section. -## console +## `console` @@ -74,11 +74,11 @@ added: v0.1.100 Used to print to stdout and stderr. See the [`console`][] section. -## exports +## `exports` This variable may appear to be global but is not. See [`exports`][]. -## global +## `global` @@ -92,11 +92,11 @@ within the browser `var something` will define a new global variable. In Node.js this is different. The top-level scope is not the global scope; `var something` inside a Node.js module will be local to that module. -## module +## `module` This variable may appear to be global but is not. See [`module`][]. -## process +## `process` @@ -107,7 +107,7 @@ added: v0.1.7 The process object. See the [`process` object][] section. -## queueMicrotask(callback) +## `queueMicrotask(callback)` @@ -146,11 +146,11 @@ DataHandler.prototype.load = async function load(key) { }; ``` -## require() +## `require()` This variable may appear to be global but is not. See [`require()`][]. -## setImmediate(callback\[, ...args\]) +## `setImmediate(callback[, ...args])` @@ -159,7 +159,7 @@ added: v0.9.1 [`setImmediate`][] is described in the [timers][] section. -## setInterval(callback, delay\[, ...args\]) +## `setInterval(callback, delay[, ...args])` @@ -168,7 +168,7 @@ added: v0.0.1 [`setInterval`][] is described in the [timers][] section. -## setTimeout(callback, delay\[, ...args\]) +## `setTimeout(callback, delay[, ...args])` @@ -177,7 +177,7 @@ added: v0.0.1 [`setTimeout`][] is described in the [timers][] section. -## TextDecoder +## `TextDecoder` @@ -186,7 +186,7 @@ added: v11.0.0 The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section. -## TextEncoder +## `TextEncoder` @@ -195,7 +195,7 @@ added: v11.0.0 The WHATWG `TextEncoder` class. See the [`TextEncoder`][] section. -## URL +## `URL` @@ -204,7 +204,7 @@ added: v10.0.0 The WHATWG `URL` class. See the [`URL`][] section. -## URLSearchParams +## `URLSearchParams` @@ -213,7 +213,7 @@ added: v10.0.0 The WHATWG `URLSearchParams` class. See the [`URLSearchParams`][] section. -## WebAssembly +## `WebAssembly`