11.Functions recap


#1

Hello!What is wrong in my code?

var nameString = function (name) {
return "Hi, I am" + " " + name;
};
console.log(nameString("Andrei"));

In console say:

"TypeError: console.log is not a function"

And in help text say:

"Oops, try again. Your code doesn't look quite right. Click "Stuck? Get a hint!" if you need help!"
Pls help me, thanks.


#2

seems you hit a glitch, try refreshing the page


#3

Yes, was glitch, thanks :slight_smile:


#4