I do not understand the output :/


#1

I put this code:

var food = function(foodDemand){
console.log("I want to eat a great");
}
foodDemand("Meat")
foodDemand("Meat2")
foodDemand("Meat3")

and this gives me an output:
I want to eat Meat
I want to eat Meat2
I want to eat Meat3

Why ? If I put "I want to eat a great"..


#2

You're calling a different function, look at the names