Skip to content

Commit 3cc9734

Browse files
committed
fixes
1 parent 33642d3 commit 3cc9734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/02-class-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Internally, `extends` keyword works using the good old prototype mechanics. It s
6464
For instance, to find a method for `rabbit.hide()`, the engine checks:
6565
1. The `rabbit` object (no `hide`).
6666
2. Its prototype, that is `Rabbit.prototype` (also no `hide`).
67-
3. Its prototype, that is (due to `extends`) `Animal.prototype`, that has the method.
67+
3. Its prototype, that is (due to `extends`) `Animal.prototype`, that finally has the method.
6868

6969
As we can recall from the chapter <info:native-prototypes>, JavaScript uses prototypal inheritance for build-in objects. E.g. `Date.prototype.[[Prototype]]` is `Object.prototype`, so dates have generic object methods.
7070

0 commit comments

Comments
 (0)