File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ class BankAccount {
962962

963963
// It doesn't have to be prefixed with `get` or `set` to be a getter/setter
964964
set balance(amount) {
965-
if (verifyIfAmountCanBeSetted(amount)) {
965+
if (this.verifyIfAmountCanBeSetted(amount)) {
966966
this._balance = amount;
967967
}
968968
}

0 commit comments

Comments
 (0)