SleepDebtCalculator Project Problem

I’m trying to understand what is wrong with my code. Why is my console printing NaN? I think I’m missing a point.
Could someone help me?

Thanks in advance!


when adding a number and string together you get NaN (not a number).

you could add default, and print the day to see which argument you have a typo in. Seems to be Thursday

1 Like

Thank You! Didn’t see that typo. I was desperate :sweat_smile: