-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Issue with "Uint8Array" (and other TypedArray concrete class pages): missing inheritance from %TypedArray% #20019
Comments
I'm pretty sure this has been brought up in the past but I can't find the thread anywhere now. Inheritance information in the JS references is incredibly unuseful—literally everything says "inherits from |
Appears related to https://github.com/mdn/content/discussions/18002, but you're arguing for the sake of correctness, yes? |
Yes, the fact that |
Got it! Furthermore, note that even the instance properties are accessors, implementated on The constants are each loaded on the individual |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
These pages mention things like
Uint8Array.prototype.copyWithin()
. There's no such thing—only%TypedArray%.prototype.copyWithin()
. There's no need to repeat these methods on every constructor's page—just include the inheritance from%TypedArray%
in the left sidebar, like we do for Web API.What did you expect to see?
Remove the redundant mentions of typed array methods on every concrete class's page—there's only one such method in JavaScript, not one per typed array class.
Do you have any supporting links, references, or citations?
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/javascript/reference/global_objects/uint8array
The text was updated successfully, but these errors were encountered: