DEV Community

Discussion on: Solving the Cash Register challenge in Free Code Camp

Collapse
 
colonelxy profile image
Harold Oliver 🛡️

When i redo these steps, the last test fails, 'CLOSED' doesn't resolve.

Collapse
 
federicocapucci profile image
federicocapucci

for the 'CLOSED' case, i figured after doing a console.log(), that the change array was being provided in the wrong order, so I just appended .reverse to the case, and it worked.