Change:
When I learned the JavaScript,I saw this expression "Nearly every object in JavaScript has a prototype property which is part of the constructor function that created it.", I give me a vibe that "All objects in JavaScript have prototype property". I don't know if this is my misunderstanding, If not , correct it It will bring great misleading to novices. Correct it into below “Nearly every object in JavaScript has a constructor that created it ,and this constructor function has a prototype property.” No response Device: [Laptop] OS: [MacOs 13.2] Browser: [Chrome] Version: [110.0.5481.177] No response
Thank you for taking the time to open this. I am not sure what you mean by this. I am not sure how you interpret "all objects" from the words "nearly every object" Aside from that, I suggest we remove the sentence completely. It does not do much, and is incorrect: I believe the sentence is referring to some primitives like which do not have a property . However, these are not objects, unless referring to the . man, js is confusing
Sorry, I am not good at English.I didn't expect MDN to have a similar expression, because I didn't read the English version before.By the way, you just said that this expression is incorrect and gave you your thoughts I remember that not only some primitives like number do not have a property prototype, but also an object like this does not have a property prototype too. <img width="276" alt="image" src="https://user-"It seems that only functions have a property prototype.
All JavaScript objects have prototypes - not just functions: Hope this clarifies
I agree with - that sentence is confusing at best. I vote we remove it.
Sorry to reply your so late. Well, I think I may be aware of the key to the problem. I just looked at the definition of Property. Property included three parts: key value some attributes I used to think that Property only refers to the key. Okay, I admit that I have always been wrong before. Then I looked at the definition of Prototype again, but unfortunately I did not find a very clear definition. I only saw the following sentence I seem to understand Prototype as an object, it does not contain Key, right? If so, The Property cannot be put together with Prototype, because Property contains Key + Value + Attributes, but Prototype is just a value, and it is an Object Value. Although there is such an expression in MDN: But there is also such a note below: This really makes me feel confused.
I suggest you ask your questions on . To summarise: Everything in JavaScript is an object. except for some primitives Every object has a prototype Prototypes are objects You cannot access an object's prototype by using , because the prototype is not explicitly named Often, the prototype is called , in which case it is possible to access it using If you have any more questions, please head over to the forum. A Github issue is not the best place for such discussion.
An issue with the label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute, and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Affected file: Changes to Close: Remove this sentence from the instructions (description):

Discussion:
console.log(canary.numLegs); ``` <del> Since all instances automatically have the properties on the `prototype`, think of a `prototype` as a "recipe" for creating objects. Note that the `prototype` for `duck` and `canary` is part of the `Bird` constructor as `Bird.prototype`. Nearly every object in JavaScript has a `prototype` property which is part of the constructor function that created it. </del> <ins> Since all instances automatically have the properties on the `prototype`, think of a `prototype` as a "recipe" for creating objects. Note that the `prototype` for `duck` and `canary` is part of the `Bird` constructor as `Bird.prototype`. </ins> # --instructions--