Function syntax


#1

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

greeting("Sudha"); I don't want to give values of name


#2

Your code looks fine try refreshing the page and try again,

If you still get an error let me know what it is


#3

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