Ad
  • Custom User Avatar

    you are returing the value returned when you console.log(total). Instead, get rid of the console.log, and simply do "return total"