Tying it All Together


#1


https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/0/5?curriculum_id=506324b3a7dffd00020bf661

It's giving me the error message: Invalid or unexpected to ken


var greeting = function (name){
console.log("Great to see you,"+"Erik);
greeting("Erik");
};


#2

Hi this line

console.log("Great to see you,"+"Erik);

you didnt' close the " around Eric then this line

greeting("Erik");

should be outside the greeting function


#3

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