a bug (Maximum call stack size exceeded)
fixing getting "wateramount"
This commit is contained in:
parent
440f4086d4
commit
c47a379512
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