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.
Very nice solution. Mine was like 5 lines, I need to learn these methods. It seems to make everything much easier lol.
In terms of how the Javascript interpreter works, yes, it's a good idea to put semicolons where they can be used in order to prevent interpreter look-ahead when not necessary.
In this case, it's basically telling the interpreter "no, there's nothing more coming after this for this assignment". I mostly do it out of habit now after watching a Crockford Google talk some time ago.
Well, unless you look carefully at the expected output.. If you're like me though, you tend to speed read through the description ;)
Watch for whitespace. The instructions (and the resulting error) aren't very clear.