What am I missing on 11?


#1

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

console.log(nameString("Susie"));

It prints the code,but it's not accepting it.


#2

I'm not sure what question your on. Could you give the lesson name?


#3

Introduction to Functions in JS lesson.
11.Functions recap


#4

"Hi,I am"+" "+name

Put a space between I and the ,


#5

Thank you so much! It was just a space ,_,..my heart.


#6

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