Skip to content

Commit 80eb70f

Browse files
authored
Update article.md
1 parent 358c389 commit 80eb70f

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/01-prototype-inheritance

1 file changed

+1
-1
lines changed

1-js/08-prototypes/01-prototype-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Also it may be obvious, but still: there can be only one `[[Prototype]]`. An obj
135135
```smart header="`__proto__` is a historical getter/setter for `[[Prototype]]`"
136136
It's a common mistake of novice developers not to know the difference between these two.
137137

138-
Please note that `__proto__` is *not the same* as the internal `[[Prototype]]` property. It's a getter/setter for `[[Prototype]]`. Later we'll see situations where it matters, for now let's just keep it in mind, as we build our understanding of JavaScript language.
138+
Please note that `__proto__` is *not the same* as the internal `[[Prototype]]` property. It's a getter/setter for `[[Prototype]]`. Later we'll see situations where it matters, for now let's just keep it in mind, as we build our understanding of JavaScript language.
139139

140140
The `__proto__` property is a bit outdated. It exists for historical reasons, modern JavaScript suggests that we should use `Object.getPrototypeOf/Object.setPrototypeOf` functions instead that get/set the prototype. We'll also cover these functions later.
141141

0 commit comments

Comments
 (0)