Skip to content

Commit 751735f

Browse files
authored
Merge pull request #1404 from paroche/patch-47
Update article.md
2 parents 20c592f + 9c026eb commit 751735f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/02-class-inheritance/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Rabbit extends Animal {
131131
}
132132
```
133133
134-
...But usually we don't want to totally replace a parent method, but rather to build on top of it, tweak or extend its functionality. We do something in our method, but call the parent method before/after it or in the process.
134+
...But usually we don't want to totally replace a parent method, but rather to build on top of it to tweak or extend its functionality. We do something in our method, but call the parent method before/after it or in the process.
135135
136136
Classes provide `"super"` keyword for that.
137137

0 commit comments

Comments
 (0)