5. Debugging Where did i go wrong?


var greeting = function(name)
console.log("Welcome"+" "+ "Doug");
var greeting("Doug");


you have a {; at the end of your code which doesn't serve any purpose, does it? You have a var before your function call but a function call doesn't need to be declared it just makes use of the function value inside of a variable and you don't use the parameter name of your function but instead use the hard coded name "Doug".


i bow before your excellence and thank you kind person