I'm trying to do the basic function excercise, however it keeps telling me that my Syntax is incorrect. I've run this through another syntax parser called esprima, and it tells me the syntax is fine.
Can anyone tell me what I've done wrong?
var foodDemand = funtion(food)
console.log("I want to eat" + " " + food);