what’s error in my code ?
do you have any information about the error?
code can’t run !
when run it no result !
The getActualSleepHours
function is missing a return
somewhere between the {
and }
You have calculateSleepDebt(5);
but earlier, your calculateSleepDebt
function has no parameters - nothing inside the ()
2 Likes