Syntax Error Expected ) Please Help


#1

I have been looking at this code for over 30 mins and I can't find the Syntax error. I have obviously done something stupid but can't spot it. Unable to progress and I am running out of time to complete the course before I have to pick up my kids!

// Declare your variables here!
var programming = false;

var happy = function() {
// Add your if/else statement here!
if (programming !true) {
return true;
} else {
return false;
}
};


#2

your missing an operator between programmind and !true or should that be != true?


#3

Thanks, should have asked ages ago!