#fuction syntax unit 2


#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," + " " + name);
};

// On line 11, call the greeting function!
console.log ("hey"+" "+"you")
what else do I do??


#2

Remove the space between function and (name)


#3

its still not working


#4

You are supposed to call the function here:

greeting("yournamegoeshere");

#5

joe kerly has a girlfriend called abby long and loves her


#6

joe wants to marry her


#7

strong textaaaaaaaaaaaaa


#8

What are you talking about?

If your post does not add to the discussion, please do not post it.