Update article.md
This commit is contained in:
parent
6ab384f251
commit
8292f9c70a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ In JavaScript, objects have a special hidden property `[[Prototype]]` (as named
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
When we read a property from `object`, and it's missing, JavaScript automatically takes it from the prototype. In programming, such thing is called "prototypal inheritance". And soon we'll study many examples of such inheritance, as well as cooler language features built upon it.
|
When we read a property from `object`, and it's missing, JavaScript automatically takes it from the prototype. In programming, this is called "prototypal inheritance". And soon we'll study many examples of such inheritance, as well as cooler language features built upon it.
|
||||||
|
|
||||||
The property `[[Prototype]]` is internal and hidden, but there are many ways to set it.
|
The property `[[Prototype]]` is internal and hidden, but there are many ways to set it.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue