Skip to content

Commit 5c2f16a

Browse files
Merge pull request ryanmcdermott#79 from vsemozhetbyt/tabs-to-spaces
replace accidental tabs by spaces
2 parents 82f9d39 + ccda22e commit 5c2f16a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ server.
914914
```javascript
915915
class BankAccount {
916916
constructor() {
917-
this.balance = 1000;
917+
this.balance = 1000;
918918
}
919919
}
920920

@@ -928,14 +928,14 @@ bankAccount.balance = bankAccount.balance - 100;
928928
```javascript
929929
class BankAccount {
930930
constructor() {
931-
this.balance = 1000;
931+
this.balance = 1000;
932932
}
933933

934934
// It doesn't have to be prefixed with `get` or `set` to be a getter/setter
935935
withdraw(amount) {
936-
if (verifyAmountCanBeDeducted(amount)) {
937-
this.balance -= amount;
938-
}
936+
if (verifyAmountCanBeDeducted(amount)) {
937+
this.balance -= amount;
938+
}
939939
}
940940
}
941941

0 commit comments

Comments
 (0)