Update article.md
"to" tweak, no comma.
This commit is contained in:
parent
ec99b2c3bd
commit
9c026eb4e7
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class Rabbit extends Animal {
|
|||
}
|
||||
```
|
||||
|
||||
...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.
|
||||
...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.
|
||||
|
||||
Classes provide `"super"` keyword for that.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue