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 7af04797..82466331 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 @@ -101,7 +101,7 @@ class CoffeeMachine { } get waterAmount() { - return this.waterAmount; + return this._waterAmount; } constructor(power) {