4.How does a function work? -Introduction to functions


#1

Whats wrong with the code please help?
var foodDemand = function(food){
console.log("I want to eat" + " " + food);
}
foodDemand (Fish);


#2

The argument looks like an identifier, not a string. This is will raise a error.

foodDemand("fish");

#3