3. Function Syntax


I am banging my head....why is this not working?

var greeting = function (John)
console.log("High, how are you today," + name);

Please advise


So, name here

is written as a variable name, and it is not defined.

What do you actually want to do?

[Please provide link to exercise for precise help.]


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