I am getting this answer wrong can someone please help me


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




the resul come out to be[function]


To log a function and its argument to the console, call it like this:


What is the var p for in your function?


sorry just delete that line var p i wrote it by mistake


and thank you i was able to solve it with no problem


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