Skip to content

Commit dd2bb48

Browse files
authored
Merge pull request #587 from amanbangad/patch-6
Update article.md
2 parents 25984b0 + 817dbd9 commit dd2bb48

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)