Why did it return false?


// Declare your variables here!
tired = true;
bored = false;

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


That's an echo of the last unused value in your code. If you'd correctly declared tired and bored by using a var before them it would not appear. You also probably want to call the nap function by nap() to see if it is working as this is the true or false answer that is probably more interesting.