Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a62f69e

Browse filesBrowse files
aduh95targos
authored andcommitted
doc: fix globals.md introduction
Splitting the introduction sentence in two paragraphs so it's clearer the list of variables only apply to the second sentence. PR-URL: #51742 Reviewed-By: Jithil P Ponnan <jithil@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 519dc8a commit a62f69e
Copy full SHA for a62f69e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/globals.md‎

Copy file name to clipboardExpand all lines: doc/api/globals.md
+5-4Lines changed: 5 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
<!-- type=misc -->
66

7-
These objects are available in all modules. The following variables may appear
8-
to be global but are not. They exist only in the scope of modules, see the
9-
[module system documentation][]:
7+
These objects are available in all modules.
8+
9+
The following variables may appear to be global but are not. They exist only in
10+
the scope of [CommonJS modules][]:
1011

1112
* [`__dirname`][]
1213
* [`__filename`][]
@@ -1133,6 +1134,7 @@ added: v18.0.0
11331134
A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
11341135

11351136
[CommonJS module]: modules.md
1137+
[CommonJS modules]: modules.md
11361138
[ECMAScript module]: esm.md
11371139
[Navigator API]: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
11381140
[RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt
@@ -1200,7 +1202,6 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
12001202
[`window.navigator`]: https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
12011203
[buffer section]: buffer.md
12021204
[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
1203-
[module system documentation]: modules.md
12041205
[timers]: timers.md
12051206
[webassembly-mdn]: https://developer.mozilla.org/en-US/docs/WebAssembly
12061207
[webassembly-org]: https://webassembly.org

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.