12.Or


#1

what is wrong?

var tired = true;
var bored = false;

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


#2

please read this pinned topic, it explains how to compare properly. Your comparison is faulty