tthis is what i have but i keep getting
"ReferenceError: megan is not defined"
var nameString = function(name)
return "Hi, I am" + " " +name;
console.log("Hi, I am" + " " +name)
my instructions were
Write a function called nameString()
It should take name as a parameter.
The function returns a string equal to "Hi, I am" + " " + name.
Call nameString() by passing it your name, and use console.log to print the output.