Double return is confusing, I don't see it my code calling for it


#1

So,
I am confused because my code output does a double return or something, and the second return uses a parameter I didn't even put in (but it does say what is requested by the exercise), even when I make it return the right output it still gives and the double return and an error saying it didn't return what it actually did return... Where in my code did it go wrong?

https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/2/3?curriculum_id=506324b3a7dffd00020bf661#

Error:

Oops, try again.
Hmm, it looks like your nameString() function doesn't return 'Hi, I am Susie' for the name Susie.

Code:

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

Output:
Hi, I am FatAss
Hi, I am Susie


#2

HI this line

return console.log("Hi, I am" + " " + name);

you got return and console.log() you should remove one ..the console.log()


#3

figured it out, thanks. had to console log the function