Update article.md

"to" tweak, no comma.
This commit is contained in:
paroche 2019-10-01 23:13:44 -06:00 committed by GitHub
parent ec99b2c3bd
commit 9c026eb4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.