Merge pull request #861 from SherifGhoz/SherifGhoz-patch-1

a bug (Maximum call stack size exceeded)
This commit is contained in:
Ilya Kantor 2019-03-20 16:01:30 +03:00 committed by GitHub
commit bb33dcd61e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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