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 c113522 commit 52f899aCopy full SHA for 52f899a
1-js/09-classes/05-private-protected-properties-methods/article.md
@@ -230,7 +230,7 @@ coffeeMachine.#waterLimit = 1000; // Error
230
coffeeMachine.waterAmount = 100; // Works
231
```
232
233
-On the language level, `#` is a special sign that the field is private. We can't access it from outside or from inhereting classes.
+On the language level, `#` is a special sign that the field is private. We can't access it from outside or from inheriting classes.
234
235
Private fields do not conflict with public ones. We can have both private `#waterAmount` and public `waterAmount` fields at the same time.
236
0 commit comments