Functions & if / else - Confused about output


#1

I have written the following code:

  // Write your function below. 
    // Don't forget to call your function!
    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);

this is the output I received:

"You're getting plenty of sleep! Maybe even too much!"

Since I have passed three values, I expected the output to display three return values. Can you please tell me why sleepCheck(5), sleepCheck(5) are ignored?


#2

You're not printing the results. How do you print something?