We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f899a commit 8a9d97aCopy full SHA for 8a9d97a
1-js/09-classes/05-private-protected-properties-methods/article.md
@@ -257,7 +257,7 @@ machine.waterAmount = 100;
257
alert(machine.#waterAmount); // Error
258
```
259
260
-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.
261
262
But if we inherit from `CoffeeMachine`, then we'll have no direct access to `#waterAmount`. We'll need to rely on `waterAmount` getter/setter:
263
0 commit comments