Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce4315f

Browse files
authored
function name change
1 parent fda8357 commit ce4315f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ class BankAccount {
957957

958958
// It doesn't have to be prefixed with `get` or `set` to be a getter/setter
959959
set balance(amount) {
960-
if (verifyAmountCanBeSetted(amount)) {
960+
if (verifyIfAmountCanBeSetted(amount)) {
961961
this._balance = amount;
962962
}
963963
}
@@ -966,7 +966,7 @@ class BankAccount {
966966
return this._balance;
967967
}
968968

969-
verifyAmountCanBeSetted(val) {
969+
verifyIfAmountCanBeSetted(val) {
970970
// ...
971971
}
972972
}

0 commit comments

Comments
 (0)