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.
Phew! Those comments explaining what array.length === 1 does are a lifesaver :)
Thanks for advice
Thanks, will do it
Apart from all other issues:
if you are going to do input validation, do it correctly. Invalid input should never result in a value that might also result from some valid input.
no random tests, please unpublish right away and read this documentation
When Hemmingway started to code