Hey guy's so i created a function call nameString, with the parameter placeholder called (name)
When i put my own name in the parameter it give me the following error
ReferenceError: kevin is not defined, but i define the parameter when i am calling the function.
Could anyone please help me out, i am a JS beginner but i am still getting more the hang of it.
When i put my own name in the parameter it give me the following error
ReferenceError: kevin is not defined, but i define the parameter when i am calling the function.
Code
var nameString = function (name) {
return "Hi, I am" + " " + name;
};
nameString = kevin;
console.log (nameString);Could anyone please help me out, i am a JS beginner but i am still getting more the hang of it.
Hand in Hand, Kameraden!
![[Image: rtoT6OM.jpg]](https://i.imgur.com/rtoT6OM.jpg)



![[Image: M6MscUn.gif]](https://i.imgur.com/M6MscUn.gif)
