Can help


#1


// Declare your variables here!
var tired = true;
var bored = false;
var nap = function() {
  if(tired||bored);
   return true; 
   } else{ 
      return false;
};
}
 nap()


#2

You have a syntax error here:

See suggested code below:

var tired = true;
var bored = false;
var nap = function() {
  if(tired||bored){
   return true; 
   } 
 else{ 
      return false;
}
};

nap()

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.