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.
Nobody here can see your code. I've changed the tests to properly compare the actual/expected values, so you should be able to reset the trainer and get useful feedback on test failure.
For some reason I misread your post and thought you were using Swift. I've edited the response for JS.
Always look to the sample tests. For example, the first test for JS is
and the right hand side of the equality statement is what you should be returning: namely, the string as in the problem description.