Help! "Pastries and Logic"


I can not find the logical error in the code, although I have already changed the console.log tô readyToBake…

Hello dear @Matheus_Ricarte , thank you for sharing your query.
Actually it is a little bit tricky. You have changed console.log() that’s okay, here is another error, that is logical error. The point this, if both of ingredients and appliances are not ready, how can one be ready to bake?
So to make sure both are ready, && is accurate in stead of ||. It is the logical error to be solved here.

Just update the code to

if(ingredients && appliance){
          console.log(readyToBake);
}

The rest parts seem good to me.

Don’t forget to notify if you face further queries.
Thank you

-Ahnaf