GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Not all globals are documented · Issue #6894 · nodejs/node

Not all globals are documented #6894

New issue
Copy link
New issue
Copy link
Closed
Closed
Not all globals are documented#6894
Copy link
Labels
docIssues and PRs related to Node.js documentation.

Description

@dfahlander
dfahlander
opened on May 20, 2016
Issue body actions
  • Version: v4.3.1
  • Platform: Windows 64-bit
  • Subsystem: N/A

In the documentation of globals at https://nodejs.org/api/globals.html I'm missing certain globals, such as Uint16Array, Uint8Array, etc even though they are obviously globals and don't need to be required in.

For people trying to write universal javascript, it would be quite nice to have a proper documentation of all globals in node.

Running the following code will print out many globals that are missing in the global documentation page:

Object.getOwnPropertyNames(global).sort().forEach(x => console.log(x));

Activity

  1. addaleax commented on May 20, 2016

    @addaleax
    addaleax
    on May 20, 2016
    Member
    More actions

    I think documenting all of these would be out of scope for Node, but what would you think about e.g. linking to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects?

    Reacted by Jeremiah Senkpiel, Brian Cooke and Douglas Wilson
  2. addaleax
    added
    docs-requested
    on May 20, 2016
  3. jasnell commented on May 20, 2016

    @jasnell
    jasnell
    on May 20, 2016
    Member
    More actions

    +1 to linking

  4. mscdex commented on May 20, 2016

    @mscdex
    mscdex
    on May 20, 2016
    Contributor
    More actions

    Adding a note that node has many (other) global objects in common with modern browsers would be good to have (with the link that @addaleax suggested), rather than explicitly documenting each one, which is likely to change somewhat often.

  5. addaleax
    closed this as completedin 2193a2eon May 23, 2016
  6. Fishrock123
    added a commit that references this issue on May 30, 2016

    doc: reference list of language-specific globals

    607dd1a
  7. rvagg
    added a commit that references this issue on Jun 2, 2016

    doc: reference list of language-specific globals

    9fa1b19
  8. MylesBorins
    added a commit that references this issue on Jun 3, 2016

    doc: reference list of language-specific globals

    5308550
  9. sam-github
    added
    docIssues and PRs related to Node.js documentation.
    and removed
    docIssues and PRs related to Node.js documentation.
    on Dec 1, 2016
  10. sjarmak
    added a commit that references this issue on Jul 27, 2026

    doc: reference list of language-specific globals

    2193a2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.