#3 FUNCTION SYNTAX My code doesn't look quite right?


#1

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

greeting("David");

What is wrong with this? I saw in every other post about this number that this was correct but it doesnt work for me!

Help

edit: I refreshed the page and now its working. Don't know what was wrong but it worked. I guess I'm actually learning to be a programmer


#2

Hi try to refesh the page...


#3

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