3/13 Please help!


#1

This is my code
// 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," + " " + name);
};

// On line 11, call the greeting function!
var sayHello = function ("Josh") {
console.log("Hello" + "Josh");
};


#2

i am confused by this bit:

var sayHello = function ("Josh") {
    console.log("Hello" + "Josh");
};

is this where your try to call the function? from the exercise:

You can run this code by "calling" the function, like this:

sayHello("Emily");

here they call the function sayHello, your functions called greeting, but you can call it in the same fashion:

greeting("Josh");