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.
Tests show what test cases you fail:
Your solution returned
"www"
in the first case, andundefined
in the second, which are not correct answers.Your solution has a bug. Bug in your solution is not a kata issue.
This comment is hidden because it contains spoiler information about the solution
The expected values are ok, and they're explained in the kata description, check your code. Without seeing it we can't help you. If you post it here, mark your post as having spoiler content and use proper markdown