Skip to content

Commit bc7d43c

Browse files
committed
minor
1 parent dd67ddd commit bc7d43c

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
@@ -49,7 +49,7 @@ Right now they are fully independent.
4949

5050
But we'd want `Rabbit` to extend `Animal`. In other words, rabbits should be based on animals, have access to methods of `Animal` and extend them with its own methods.
5151

52-
To inherit from another class, we should specify `"extends"` and the parent class before the brackets `{..}`.
52+
To inherit from another class, we should specify `"extends"` and the parent class before the braces `{..}`.
5353

5454
Here `Rabbit` inherits from `Animal`:
5555

0 commit comments

Comments
 (0)