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.
Thanks for the feedback! I'm surprised that a test case did not cover that.
A good practice is to always specify second parameter for parseInt(): radix, in this case it should be 10. Otherwise if the array contained 0 you could be in for a surprise ;)