Fubction recap


#1



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


it keeps bringing
Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie.


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


#2

strings returned often have to be an exact match, you are missing a space between Hi, and I.

Also, the function call should be inside a console.log() (instructions step 4)


#3

I am not getting how I am supposed to call the output.
It's not possible to console.log() the return.
Help is needed..


#4

yes it is, by logging the function call the to the console:

console.log(/* function call here */)

Did you fix the string returned?


#5

Yes I fixed the string issue.
But I seriously don't see how to call that function..


#6

you already have a function call:

nameString("Susie");

now you just need to call it inside console.log:

console.log(/* function call here */)

#7

okay, thank you.
it worked