Skip to content
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

Inconsistency in delineation between instance and static methods #32402

Closed
20jasper opened this issue Feb 22, 2024 · 1 comment
Closed

Inconsistency in delineation between instance and static methods #32402

20jasper opened this issue Feb 22, 2024 · 1 comment
Labels
Content:JS JavaScript docs Content:WebAPI Web API docs

Comments

@20jasper
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

What specific section or headline is this issue about?

Methods

What information was incorrect, unhelpful, or incomplete?

Static and instance methods are distinguished explicitly in the docs for URL, but Array has one "methods" list, where instance methods follow the pattern of Array.prototype.method() and static methods Array.method()

What did you expect to see?

I personally prefer separate lists for static and instance methods, since it's easier to scan when separated and with only the method names

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

Array example

A static and instance method for Array
Array.prototype.forEach()
Array.from()

URL example

static and instance method lists for URL
canParse()
toJSON()

@20jasper 20jasper added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 22, 2024
@github-actions github-actions bot added Content:JS JavaScript docs Content:WebAPI Web API docs labels Feb 22, 2024
@Josh-Cena
Copy link
Member

Hello, the sidebar is not managed by us, and none of us on the JS team is very happy with the current situation. I have a PR here: mdn/yari#8502 but it has been stale for a few months and I don't see reasons to expect the Yari team to be active maintaining the platform for us because they have other business to tend to. In any case this is quite unactionable here so I'll close it anyway.

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:JS JavaScript docs Content:WebAPI Web API docs
Projects
None yet
Development

No branches or pull requests

2 participants