Merge pull request #861 from SherifGhoz/SherifGhoz-patch-1
a bug (Maximum call stack size exceeded)
This commit is contained in:
commit
bb33dcd61e
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class CoffeeMachine {
|
|||
}
|
||||
|
||||
get waterAmount() {
|
||||
return this.waterAmount;
|
||||
return this._waterAmount;
|
||||
}
|
||||
|
||||
constructor(power) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue