Functions Recap, 11, I doesn't work


I am at exercise 11.Functions Recap. And I don't understand why it doesn't work. I checked another code, side by side and it should work.But it prints out properly.

Oops, try again. 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;	


There is an extra space. Remove one of them.


Thanks a lot. I feel kinda dumb now...


Don't. If we never made a mistake we might still be in the dark ages. Learning comes from mistakes. Revel in them, and go easy on yourself.


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