#11 Function Recap



var nameString = function (name) {
    return "Hi, I am" + " " + name;

My code passes the only problem that I am having is that when I hit submit it logs [Function]
and not Christian. Why is it that it passes and not correctly log my name?


Well you're printing the function, isn't it reasonable that it says "Function" when you do?

Perhaps there's something other than the function itself that you'd like to print, how do you obtain that something?


okay it worked when I did


the weird thing is that I thought I tried this and it gave me an error. Maybe I overlooked something. Thanks for the tip.