11. And - Logical Operator



Oops, try again. Did you declare a variable called hungry?
ReferenceError: Invalid left-hand side in assignment

I don't know what I'm doing wrong on this. It looks right to me but I know it's not. Can someone please help me with this? I would truly appreciate this.

// Declare your variables here!
var hungry = true
var foodHere = true
var eat = function() {
  // Add your if/else statement here!
  if (hungry && foodHere = true)  {
      console.log("I'm so hungry!");  }
  else (hungry &- foodHere = false)  {
      console.log("I'm am so not ready to eat.")
  else if ()  {
      console.log(" ");  }


I figured it out, do you believe it? I don't need help on this one.