Is this code right for this lab?


It keeps telling me I'm using the wrong operator but I thought the greater than or equal was >=

// Write your function below.
// Don't forget to call your function!

var sleepCheck = function(numHours)
if (numHours>=8)
console.log("You're getting plenty of sleep! Maybe even too much!");

    console.log("Get some more shut eye!");




Runs fine for me dude.

Reset the exercise and refresh browser, sometimes helps.