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 b80e006

Browse filesBrowse files
mertcanaltinMoLow
authored andcommitted
doc: mark global object as legacy
PR-URL: #47819 Fixes: #47784 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent fdf9681 commit b80e006
Copy full SHA for b80e006

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/globals.md‎

Copy file name to clipboardExpand all lines: doc/api/globals.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ added: v0.1.27
469469

470470
<!-- type=global -->
471471

472+
> Stability: 3 - Legacy. Use [`globalThis`][] instead.
473+
472474
* {Object} The global namespace object.
473475

474476
In browsers, the top-level scope is the global scope. This means that
@@ -908,6 +910,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
908910
[`console`]: console.md
909911
[`exports`]: modules.md#exports
910912
[`fetch()`]: https://developer.mozilla.org/en-US/docs/Web/API/fetch
913+
[`globalThis`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
911914
[`module`]: modules.md#module
912915
[`perf_hooks.performance`]: perf_hooks.md#perf_hooksperformance
913916
[`process.nextTick()`]: process.md#processnexttickcallback-args

0 commit comments

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