Skip to content

Commit

Permalink
doc: mark global object as legacy
Browse files Browse the repository at this point in the history
PR-URL: #47819
Fixes: #47784
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
  • Loading branch information
mertcanaltin authored and MoLow committed Jul 6, 2023
1 parent fdf9681 commit b80e006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ added: v0.1.27

<!-- type=global -->

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

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

0 comments on commit b80e006

Please sign in to comment.