From a2561dc123e86ff87790b2b6d2b6377acc4995d8 Mon Sep 17 00:00:00 2001 From: Taylor Clay <8163665+TaylorClay@users.noreply.github.com> Date: Thu, 7 Jan 2021 16:37:44 -0600 Subject: [PATCH] Minor output typo In the section describing the usage of `"super"`, example output says `// White Rabbit stands still. White rabbit hides!` The `name` member in this example is set to `White Rabbit`, so the second sentence above should say `White Rabbit hides!` (capital R) --- 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 d84ab442..9d57b7c8 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -151,7 +151,7 @@ class Rabbit extends Animal { let rabbit = new Rabbit("White Rabbit"); rabbit.run(5); // White Rabbit runs with speed 5. -rabbit.stop(); // White Rabbit stands still. White rabbit hides! +rabbit.stop(); // White Rabbit stands still. White Rabbit hides! ``` Now `Rabbit` has the `stop` method that calls the parent `super.stop()` in the process.