In your code above, with return(“MC, Hello”);
The function parseMessage will return everything inside your double brackets " " . This means that, if you had return(“MC ! Hello”);
Your parseMessage function will return MC ! Hello.
Now when you remove the comma and add the colon, the parseMessage funcion will return MC: Hello. However, this is not what the task wants us to do.
It wants to take any parameter (origin, message) and when the parseMessage function is called, it will return a string using ‘origin’ and ‘message’
If the variable origin = I am
And the variable message = Canadian
With your example, when I call the function parseMessage(origin, message) you would still return MC: Hello.
When in fact it should return I am Canadian.
I hope that helps. I’m not a moderator, and I’m still new to programming. But I was able to complete both task 1 and 2.