Function problem


#1

why give me error . where is the problem

// Write your function below. 
// Don't forget to call your function!
var sleepCheck = function (numHours){
    if(numHours>=8) {
return"you 're gtting plenty of sleep! Maybe even too much!";
} 
else{
return"Get some more shut eye!";
}};
sleepCheck(10)
sleepCheck(5)
sleepCheck(8)

#2

return"you 're gtting plenty of sleep! Maybe even too much!";

Please check that the string you're returning exactly matches the string the exercise has given you. Copy-pasting the string is recommended.


#3

thanks that was great