12 help


sleepCheck = function (numHours){
{return "You're getting plenty of sleep! Maybe even too much!";}
{return "Get some more shut eye!";}

can someone please tell me where im goin wrong


In your if condition instead of => you should have >=. And also you forget to close your function so before where you call your function put }.


Including your error message would be really helpful!

In addition to fndiaye's fixes, remember that the instructions ask you to call the function for three different values.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.