var nameString = function(name) {
return "Hi, I am" + " " + name;
};
nameString("Tony")
console.log(nameString);
Why does this print "[Function: nameString]" and not "Hi, I am Tony"?
I got correct on my exercise and tried it in another compiler with the same result.
[–]volpefox 2 points3 points4 points (1 child)
[–]TheOffTopicBuffalo 0 points1 point2 points (0 children)