Functions recap: desperate


#1


https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/3?curriculum_id=506324b3a7dffd00020bf661#


It sends me an error: Oops, try again. Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie. I don't know what to do: please help


var nameString = function (name) {
    return "Hi, I am "+" "+name;
	
	
};
nameString("Mary");


#2

you have two spaces here:

am "+" "+name;

one space is enough


#4

i got it thanks :slight_smile:


#5