Skip to content

Commit 817dbd9

Browse files
authored
Update article.md
adding this
1 parent e4ad8d0 commit 817dbd9

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/10-class-inheritance

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/10-class-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Rabbit extends Animal {
125125
*!*
126126
stop() {
127127
super.stop(); // call parent stop
128-
hide(); // and then hide
128+
this.hide(); // and then hide
129129
}
130130
*/!*
131131
}

0 commit comments

Comments
 (0)