Recap of function


#1


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

SyntaxError: Unexpected token

Replace this line with your code. 
var nameString = function (name ) {
	return "Hi, I  am" + " " +name.; 
	
};
nameString("Pirre");
console.log(nameString);


#2

you have a full stop after name, causing the error


#3

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