diff --git a/1-js/09-classes/05-private-protected-properties-methods/article.md b/1-js/09-classes/05-private-protected-properties-methods/article.md index 68963513..90d41e65 100644 --- a/1-js/09-classes/05-private-protected-properties-methods/article.md +++ b/1-js/09-classes/05-private-protected-properties-methods/article.md @@ -230,7 +230,7 @@ coffeeMachine.#waterLimit = 1000; // Error coffeeMachine.waterAmount = 100; // Works ``` -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. Private fields do not conflict with public ones. We can have both private `#waterAmount` and public `waterAmount` fields at the same time.