You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
this article say each object has an internal link to another object called its prototype.But other say Also allows the creation of objects without a prototype, using Object.create(null).I want know which is right.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered:
We should remove the mention of Object.create(null), as literally every other object creation method allows null prototypes here. I also think "without a prototype" is technically wrong but I think few people go into that level of detail as "null prototype" and "no prototype" are generally the same thing.
Josh-Cena
added
good first issue
A good issue for newcomers to get started with.
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
May 11, 2024
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
this article say each object has an internal link to another object called its prototype.But other say Also allows the creation of objects without a prototype, using Object.create(null).I want know which is right.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: