We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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