itselfs -> itself

This commit is contained in:
dragonwocky 2019-04-16 15:02:07 +10:00 committed by GitHub
parent 52f899a1af
commit 8a9d97a7f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ machine.waterAmount = 100;
alert(machine.#waterAmount); // Error
```
Unlike protected ones, private fields are enforced by the language itselfs. That's a good thing.
Unlike protected ones, private fields are enforced by the language itself. That's a good thing.
But if we inherit from `CoffeeMachine`, then we'll have no direct access to `#waterAmount`. We'll need to rely on `waterAmount` getter/setter: