a bug (Maximum call stack size exceeded)

fixing getting "wateramount"
This commit is contained in:
GhozDev 2019-03-19 13:28:44 +02:00 committed by GitHub
parent 440f4086d4
commit c47a379512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ class CoffeeMachine {
}
get waterAmount() {
return this.waterAmount;
return this._waterAmount;
}
constructor(power) {