Help with 5/13


#1

i Dont know what is the problem can someone please show me the right code cause dont get it


#2

@dordor333

var greeting = function (name) {
console.log("Great to see you" + " " + name)
}
greeting("name")


#3

For 5/13 the code is this:
// Nicely written function:
var calculate = function (number) {
var val = number * 10;
console.log(val);
};

// Badly written function with syntax errors!
var greeting = function (name) {
console.log(name);
};
greeting("Jonathan");


#4

Pls if you have a problem with your code then it really helps if you post it. And @thoseWhoPostSolutions Please don't post your code without comment rather mark the crucial points and give some hints what might be the problem.