Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Read this, also the error messages, they tell you what your function returned wrong.
This comment is hidden because it contains spoiler information about the solution
No problem! ;)
Apologies, accidentally clicked the spoiler flag :/
This was certainly an interesting kata. I really loved the new concept learned here :}
That makes sense. Thank you!
charAt
will fail if name is''
orundefined
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Sorry! I'm using JavaScript!
TypeError: Cannot read property 'charAt' of undefined
at hello
at /home/codewarrior/index.js:16:20
at /home/codewarrior/index.js:18:5
at Object.handleError
It's javascript, and it should work in both cases, please provide an example of your code that doesn't work marking your post as having spoiler content.
Hi Jenna,
Please specify the programming language in your messages. And if possible try to paste the error message here. Thank you.
This comment is hidden because it contains spoiler information about the solution