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.
Yeah, but... not in the spirit of the exercise, or that doesn't matter?
how's this work?
why did this one get two up votes? is it not redundant?
some()
returns a boolean,forEach()
does not return a value. Areturn
can be added as a seccond line.Array.prototype.each = [].some;
How about that.
Nevermind. I got it fixed.
My solution is passing the tests, but I can only get "Code timed out" when I submit it.
Could the problem be my code?