Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82f9d39 + ccda22e commit 5c2f16aCopy full SHA for 5c2f16a
README.md
@@ -914,7 +914,7 @@ server.
914
```javascript
915
class BankAccount {
916
constructor() {
917
- this.balance = 1000;
+ this.balance = 1000;
918
}
919
920
@@ -928,14 +928,14 @@ bankAccount.balance = bankAccount.balance - 100;
928
929
930
931
932
933
934
// It doesn't have to be prefixed with `get` or `set` to be a getter/setter
935
withdraw(amount) {
936
- if (verifyAmountCanBeDeducted(amount)) {
937
- this.balance -= amount;
938
- }
+ if (verifyAmountCanBeDeducted(amount)) {
+ this.balance -= amount;
+ }
939
940
941
0 commit comments