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.
omg, it took some time to find parameter names :)
I like these is...Valid variables so much. But also, I think the early return of -1 and getting rid of 'else' would enhance the readability of this code.
I think it is easier and more concise just to
(el, i) => i + 1
please, try putting 5/9 into the brackets
I wouldn't have solved this kata without this comment, thanks!