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.
1 parent e56b69e commit fda8357Copy full SHA for fda8357
README.md
@@ -948,7 +948,7 @@ const bankAccount = new BankAccount();
948
bankAccount.withdraw(100);
949
```
950
951
-**Good with getter/setter**:
+**Good**:
952
```javascript
953
class BankAccount {
954
constructor(balance = 1000) {
@@ -965,6 +965,10 @@ class BankAccount {
965
get balance() {
966
return this._balance;
967
}
968
+
969
+ verifyAmountCanBeSetted(val) {
970
+ // ...
971
+ }
972
973
974
const bankAccount = new BankAccount();
0 commit comments