Simple bank account kata

In Vanilla JS

Build a simple bank account system that handle the following methods

deposit(Integer amount)

withdraw(Integer amount)

printStatement()

printStatement should print the account statement like this :

date credit debit balance
14/01/2012 500.00 2500.00
13/01/2012 2000.00 3000.00
10/01/2012 1000.00 1000.00