11. Functions Recap - Error?


#1

So, I wrote the code the way I thought it should be but it seems to be incorrect. I tried to debug it and it ended up being correct, except it didn't give me the correct output. A little confusion on this exercise if someone could clarify.

...

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

`

...


#2

Because you put function name without any arguments, try:

console.log( nameString("Anthony") );

#3

A post was split to a new topic: 11. function recap


#4

A post was merged into an existing topic: 11. function recap


#5

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