9/13 totally lost


#1

I keep altering and altering this code, but it always returns "Oops, try again. It looks like your happy function returns false instead of true when programming is false", or vice versa

Here is my code:
// 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

Remember:

'===' is a comparator that means 'equal to', while '=' means 'change to' or 'get'.


#3

Wow, it worked! Thanks a lot, you saved my Intro to Programming grade!


#4

Ah same issue! Thanks!!!


#5

Another thing that might work here is bring the operators in the right order:

"not equal to true" -> != true

should be the same as "equal to not true" === !true and might therefore work as well.