title: Javascript simple code error for beginner
body: <p>I don't know why, but my code always get an error:</p>
  
  <blockquote>
    <p>Oops, try again. It looks like your function doesn't return "Get some
    more shut eye!" when numHours is 5. Check your if / else syntax and
    whether you're using the correct comparison operator.</p>
  </blockquote>
  
  <p>I hope some help, thank so much for your answer!</p>
  
  <pre><code>var sleepCheck = function(numHours){
  if (numHours &gt;= 8) {
  return "You're getting plenty of sleep! Maybe even too much!";
  } else {
  return "Get more some shut eye!";
  }
  };
  
  sleepCheck(10);
  sleepCheck(5);
  sleepCheck(8);
  </code></pre>