Skip to content

Commit 8a9d97a

Browse files
authored
itselfs -> itself
1 parent 52f899a commit 8a9d97a

File tree

1 file changed

+1
-1
lines changed
  • 1-js/09-classes/05-private-protected-properties-methods

1 file changed

+1
-1
lines changed

1-js/09-classes/05-private-protected-properties-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ machine.waterAmount = 100;
257257
alert(machine.#waterAmount); // Error
258258
```
259259

260-
Unlike protected ones, private fields are enforced by the language itselfs. That's a good thing.
260+
Unlike protected ones, private fields are enforced by the language itself. That's a good thing.
261261

262262
But if we inherit from `CoffeeMachine`, then we'll have no direct access to `#waterAmount`. We'll need to rely on `waterAmount` getter/setter:
263263

0 commit comments

Comments
 (0)