13. not


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

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

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

<do not remove the three backticks above>

#2

HI if you want to check equality you should use === instead of =


if(programming = true)

#3

thank you sooo much wizemarco it was useful


#4

i solved the problem finally>>>

/ Declare your variables here!
var programming = false;

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


#5

Question: why does it need 3 equal signs if it is not a number?