It's telling me "there's a problem with my syntax" i don't see why


#1


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


#2

I already noticed my own mistake, It always happens after I ask that i notice my own mistake even before someone replies, just goes to show you that if your not sure of something don't be afraid to ask) I wrote ">== 8" instead of ">=8"
thanks anyway.


#3