11.and "There was a problem with your syntax."


#1

why i am getting error message

// Declare your variables here!
var hungry=true;
var foodHere=true;

var eat = function() {
// Add your if/else statement here!
if(hungry&&foodHere){
return "true";}
else {
return "false"; }
};

//Oops, try again. There was a problem with your syntax.


#2

The syntax seems to be fine but there is in fact a difference between the boolean values true and false and the strings "true" and "false". Mainly the false is crucial because false has a value of ... well ... false but "false" has a value of true.