app.js
// Remove all localstorage data and UI data
Remove all localstorage data and UI data
Remove all localstorage data and UI data
clearLocalStorage(){
    this.expenseObj = [];
    this.totalExpenses = 0;
    this.balance = 0;
    this.budgetObj = '';
    localStorage.clear();
    return true;
  }
clearLocalStorage ( ) { this . expenseObj = [ ] ; this . totalExpenses = 0 ; this . balance = 0 ; this . budgetObj = '' ; localStorage . clear ( ) ; return true ; }
Remove all localstorage data and UI data
Remove all localstorage data and UI data