4/13


#1

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

foodDemand=("pizza");

why this no work


#2

This is not a function call but replaces your function with "pizza". So get rid of the = in between.


#3

@rizvf010_302,
and use

console.log("I want to eat" + " " + food);
instead of your
console.log("I want to eat" + "" + food);