What's wrong with this code? It's telling me I didn't call the "greeting function"


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


You call a function like this:


To call the greeting function, do this;



Thanks for the help, I noticed that after I looked back at previous pages!


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