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 believe "some" breaks on the first hit, where as "every" has to go over every element in the array, making it a lot slower for higher numbers. (not sure if this is the case with javascript, but it would make sense)
My solution is very comparable. I just don't push 2 to start with, and use every instead of some.
thanks :P