Bonus feature
This is a small section in which I'm going to add the functionality of clearing the whole list of expenses with a single button click. To do so, create a handler method and inside it, set the initial value of the expenses to an empty array.
Bonus feature This is a small section in which I'm going to add the functionality of clearing the whole list of expenses with a single button click. To do so, create a handler method and inside it, set the initial value of the expenses to an empty array.