From bc7d43c8076037c203db13bb3f27f13301c9a4c0 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 13 May 2019 19:08:57 +0300 Subject: [PATCH] minor --- 1-js/09-classes/02-class-inheritance/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 7d00d9bd..dc9b07e3 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -49,7 +49,7 @@ Right now they are fully independent. 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. -To inherit from another class, we should specify `"extends"` and the parent class before the brackets `{..}`. +To inherit from another class, we should specify `"extends"` and the parent class before the braces `{..}`. Here `Rabbit` inherits from `Animal`: