It's telling me "Oops, try again. You did not call the greeting function. Pas it a name!" what's wrong?


#1


var greeting = function (name) {
    console.log("what's up" + " " + name);
};
greeting = ("Chai");


#2

your function call:

greeting = ("Chai");

is actually not a function call, you re-assign your function a string.


#3

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