Functions Recap


#1


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



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);
};
nameString("Kai");

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


#2

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

logging != returning


#3

Thank you for your help.


#4

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


#5

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