I am stuck in charapter 9 message mixer

Hi, there!
I am not a coder or programmer…
I am trying really hard to not make this question, but I am stuck between lesson 9 and 10 in Message Mixer question, I saw some solutions but I still don’t get it…
I am doing what the hint in 9 lesson, but the answer is undefined…
I Attached my print screen.
Can someone help with a extension explication.

Hi @heloisamisantos94828
did you make a line break after the return keyword? Javascript sees that as two different statements and leaves the function after the return then.

1 Like

Okay, now I tried without the return keyword and It´s working, must be tiredness…thanks anyway!

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.