13. not


#1



// 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

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?