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


#1



Replace this line with your code.


#2

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


#3

HI this part

food("Rise")

yous should call the function foodDemand() instead of food

Hint

foodDemand("Here type your food")


#4

Try this code.....
var foodDemand = function(icecream){

console.log("I want to eat" + " " + "icecream");

};
foodDemand ("icecream")


#5

Well, in this case you can just call the function like this:

foodDemand();