Confused about functions


#1

I'm not sure what is needed here:
// On line 11, call the greeting function!
var sayHello = function (name){
console.log("Hello," + " " + name);

};
sayHello("Emily");

The error message says I didn't "call" a function.

What does the error message mean?


#2

Do you have a greeting function? no you don't. The instructions are specifically asking for a greeting function :slightly_smiling:

var greeting = function(name) {
console.log("Hello," + " " + name);
};
greeting("Emily");


#3

i love you just thk
gfhfhgfh