-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all globals are documented #6894
Comments
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? |
+1 to linking |
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. |
Fixes: nodejs#6894 PR-URL: nodejs#6900 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Fixes: #6894 PR-URL: #6900 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Fixes: #6894 PR-URL: #6900 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Fixes: #6894 PR-URL: #6900 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Fixes: #6894 PR-URL: #6900 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
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:
The text was updated successfully, but these errors were encountered: