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.
Using a variable makes your solution longer... which seems like the opposite of what you're trying to achieve.
var=;
are 5 additional characters you could have excluded by using a function declaration.That is a brilliant while loop. Wow. I never knew... coulda been ++i * 2 < integer to save half your looping I think, but still brilliant. Oh, and coulda been (integer % i) || matched.push(i) I think. Everybodies a critic, I wouldn't have come up with this, very nice.