3. Function Syntax


#1

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

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

Please advise
-JJ


#2

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.]


#3

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