We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18a60ab + a2561dc commit 930485bCopy full SHA for 930485b
1-js/09-classes/02-class-inheritance/article.md
@@ -151,7 +151,7 @@ class Rabbit extends Animal {
151
let rabbit = new Rabbit("White Rabbit");
152
153
rabbit.run(5); // White Rabbit runs with speed 5.
154
-rabbit.stop(); // White Rabbit stands still. White rabbit hides!
+rabbit.stop(); // White Rabbit stands still. White Rabbit hides!
155
```
156
157
Now `Rabbit` has the `stop` method that calls the parent `super.stop()` in the process.
0 commit comments