Calling a function, what am i doing wrong?!


#1

var greeting = function (name) {
console.log("Great to see you," + " " + name);
};

// On line 11, call the greeting function!
sayHello("Rob");

EDIT: Ive tried adding in my name Rob to function(name) but it still is incorrect. Along with adding it inside the console.log


#2

Hello, the function is not called "sayHello" it is greeting, if you look at your variable, its called greeting. Hope this helps c: