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!
arrow function ate
This comment is hidden because it contains spoiler information about the solution
I don't understand why a standard function is the best solution when it's the most elegant solution : )
Emotional Damage!!!
I am always trying to use this arrow function now. It is so neat.
Appreciate this solution. Invited me to look up those methods. Thanks!
Why do an extra operation
i + 1
at each iteration of the loop, if we can just start the count withvar i = 1
?I wish i could dislike this kata. Its dumb solution.
Nope. You are allowed to use
String.prototype.length
, and people would just usearray["len"+"gth"]
, leading to a war of attrition that can't be won.If you want free points, you can have 'em. Note I wrote this kata in a Christmas break ( in an hour ). :D
looks neat
@JohanWiltnik
uh... you didn't check for the keywordlength
??? :PInteresting
Lol :D
Wow, a pithy solution !
Loading more items...