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.
This comment is hidden because it contains spoiler information about the solution
It's probably terminology from another language than JavaScript.
Yeah, plus creating a copy of the array costs memory and cycles.
Thanks for the tip, rounding the values worked for me as well. :)
This comment is hidden because it contains spoiler information about the solution
Fixed. It seems that more people than I expected wanted to get 'clever' with that. Although I still think that spotting those things and trying to hack the katas deserves some credit. Now, you and the others have to do it as it was intended.
Same issue as @bkaes's one.
Heh, good point. It was a while ago when I wrote this now, but I'd guess at the time I introduced the constants after writing those cases and then totally forgot to go clean up after myself ;)
Yes, since the string isn't being built in a loop, it is equivilent to using string concatenation. I prefer to use the string builder (and think it is as easy to read).
Yes it is. Guess I didn't feel like looking up the date methods when I did this.