Skip to content

Commit 135cc1c

Browse files
committed
Improve example
1 parent 1ee724c commit 135cc1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@ bank.operation(account1, 1000);
6060
bank.operation(account1, -50);
6161
const account2 = new BankAccount('Antoninus Pius');
6262
bank.operation(account2, 500);
63+
bank.operation(account2, -100);
6364
bank.operation(account2, 150);
6465
bank.showOperations();
66+
console.table([account1, account2]);

0 commit comments

Comments
 (0)