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.
I can't help but wonder whether or not this is really a 6 kyu(I think it is harder than the 6 kyus i've completed), but my main criticism is that the sample tests aren't verbose enough to catch issues that would arise from not handling parsing lowercase / uppercase properly.
A good learning lesson that sometimes the first function you find in a reference list is not always the most efficient one for the job (or that there are sometimes subtle differences). indexOf is definitely the better choice here.