We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299a428 commit caec4e7Copy full SHA for caec4e7
1 file changed
JavaScript/3-anemic.js
@@ -25,7 +25,7 @@ class Bank {
25
operation, account.name, Math.abs(amount)
26
);
27
this.commands.push(command);
28
- account.balabce += amount;
+ account.balance += amount;
29
}
30
showOperations() {
31
console.table(this.commands);
@@ -43,3 +43,4 @@ bank.operation(account2, 500);
43
bank.operation(account2, -100);
44
bank.operation(account2, 150);
45
bank.showOperations();
46
+console.table([account1, account2]);
0 commit comments