Merge pull request #2771 from itaileshem/fix-typo

Fix grammar
This commit is contained in:
Ilya Kantor 2021-12-12 22:44:34 +03:00 committed by GitHub
commit 747fc37a50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,7 +317,7 @@ new Rabbit(); // animal
*/!*
```
Here, class `Rabbit` extends `Animal` and overrides `name` field with its own value.
Here, class `Rabbit` extends `Animal` and overrides the `name` field with its own value.
There's no own constructor in `Rabbit`, so `Animal` constructor is called.