Functions Recap


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

var nameString = function(name){
	console.log("Hi, I am" + " " + name);

//This code prints "Hi, I am Susie"


your function does indeed not return Hi, I am Susie, it logs this string the console

logging != returning


Thank you for your help.


This will present you with a new problem, hopefully you can figure this out :slight_smile:


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