Skip to content

Commit 59b5530

Browse files
committed
fixes
1 parent c9eea4d commit 59b5530

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
@@ -34,7 +34,7 @@ Here's how we can represent `animal` object and `Animal` class graphically:
3434

3535
...And we would like to create another `class Rabbit`.
3636

37-
As rabbits are animals, `Rabbit` class should be based on `Animal`, have access to animal methods.
37+
As rabbits are animals, `Rabbit` class should be based on `Animal`, have access to animal methods, so that it can do what "generic" animals can do.
3838

3939
The syntax to extend another class is: `class Child extends Parent`.
4040

0 commit comments

Comments
 (0)