Tell us what’s happening:
Simple question about this code in the solution. I know methods often allow you to pass arguments by other names like X, el, item or when the prototype is expecting (accumulator, current value), (acc, cur), but acc.total seems to be initializing an object Key here. Am I getting that correctly? I have searched for .total as a JS property and haven’t found anything.
I’m not familiar with that site. What I DID do yesterday was to play with console.log() and the acc object in a few of the solutions posted. That actually opens a lot of options for how I will finish the project. Been feeling more confident on the last five projects. Printing out sample solutions AFTER I solve it and writing notes on them. This is my final project for this cert. thanks for all the help.