Skip to content

Commit

Permalink
doc: mark global object as legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcanaltin committed May 7, 2023
1 parent 1e6e5a9 commit 3c3ba70
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 @@ -509,6 +509,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 @@ -1028,6 +1030,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 3c3ba70

Please sign in to comment.