Please help me with this excercise in "How does the funcion work"


Oops, try again. It looks like you didn't put quotes around the food you gave foodDemand!
ReferenceError: funcion is not defined

var foodDemand = funcion(food)
console.log("I want to eat" + " " + food);


Hi this line

var foodDemand = funcion(food)

you wrote funcion instead of function


Thanks a lot!!
I've spent a lot of time trying to figure it out... as english is not my parental language I haven't seen it at all!!
Thank you.


correct the spelling of "function" instead of funcion.


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