Stuck on number 11 of Function


It says that for the name Bobby it wont print out "Hi, I am Bobby"
This is because I dont have a variable which gets the name, or something similar to that.
But how can I get that? How do I define the name, and get past this level.

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


So here in your function you need to have name.

You can just put name in the () but that will just give you Hi, I am so put whatever name you were choosing to put in their in place of name.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.