Function syntax


#1

function syntax
how do i do this .


helpp!!!


#2

It told you to call the greeting function, so type on the 11th line:

greeting("Jane");

You don't have to put Jane, it could be anything, preferably a name. Since that's what this function is based around.


#3

What @eternallocket said :smile:
Plus delete that Z Z3ZZ3 at the beginning of your program.


#4

I hadn't even seen that part. lol


#5

// 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 (Emily) {
console.log("Great to see you," + " " + Emily);
};

// On line 11, call the greeting function!
greeting ("Emily")


#6

Is this a question or a solution?


#7

this part is a solution


#8

Then maybe add some more details on what you did and why. Also using different names for values and variables might make it easier how the the parameter works.