Am i missing something here?


Here guys am i missing something here because it say you did not declare foodDemand
var foodDemand=function(food){
console.log=("I want to eat"+ ""+food);

Intro to functions in JS, lesson 4. Whats wrong?

If you remove the = sign you'll be good to go.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.