Function and strings


#1



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

foodDemand(Every);


#2

Hello, if your input is a string, it should be surrounded by double qoutes like "this".


#3

Thank you:heart_eyes:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.