3/13


#1

// 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," + " " + "Emily");
};

// On line 11, call the greeting function!

what do i do next im stuck


#2

The call to this function will include the identifer and an argument...

identifier(argument)

as in,

greeting("Emily");

The function accepts the argument as a formal parameter, name which is the local variable representing "Emily". The function should refer to the variable, though, not the string literal.

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

Advise you check this against the instructions to see if the comma is expected (after "... you,"). If not, then remove it.


#3

i tryed that and it needed work


#4

i did it finally thanks