Skip to content

Commit 94b9c9d

Browse files
committedMar 21, 2020
minor fixes
1 parent c116813 commit 94b9c9d

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/02-function-prototype

1 file changed

+1
-1
lines changed
 

‎1-js/08-prototypes/02-function-prototype/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ That's the resulting picture:
4141
On the picture, `"prototype"` is a horizontal arrow, meaning a regular property, and `[[Prototype]]` is vertical, meaning the inheritance of `rabbit` from `animal`.
4242

4343
```smart header="`F.prototype` only used at `new F` time"
44-
`F.prototype` property is only used when `new F` is called, it assigns `[[Prototype]]` of the new object. After that, there's no connection between `F.prototype` and the new object. Think of it as a "one-time gift".
44+
`F.prototype` property is only used when `new F` is called, it assigns `[[Prototype]]` of the new object.
4545

4646
If, after the creation, `F.prototype` property changes (`F.prototype = <another object>`), then new objects created by `new F` will have another object as `[[Prototype]]`, but already existing objects keep the old one.
4747
```

0 commit comments

Comments
 (0)
Please sign in to comment.