13 Function returning false instead of true


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-qDwp0/2/4?curriculum_id=506324b3a7dffd00020bf661


Why does my code return false?


var programming = false

var happy = function() {
  if(!programming) {
      return true;
  } else {
      return false;
  }


#2

Missing }; on happy function body.