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


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


your function call:

greeting = ("Chai");

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


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