Function syntax


#1

Tell me what I'm doing wrong please

// Below is the greeting function!
// See line 7
// We can join strings together using the plus sign (+)
// See the hint for more details about how this works.

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

// On line 11, call the greeting function!
greeting


#2

Instead of locking your program to just "Ryan" -- change that to your variable called name.

Then when you call the function on line 11, you can send in any name you want.

greeting("Ryan")
greeting("Sting")
etc.