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.
This comment is hidden because it contains spoiler information about the solution
I know it's a while now, but for whoever is also wondering:
I believe it's just a matter of preference using
const
arrow-functions for one-liners andfunction
for longer functions.This comment is hidden because it contains spoiler information about the solution
I completely agree with the point made here.
While the description no longer contains sexist content, the method name did strike me as very sexist.
Cool!
JavaScript
I found this random test I believe is expecting a wrong output.
The input sequence
0234568910111213
expects output7
.The way I see it, both
1
and7
are missing and the result should be-1
.Did I get anything wrong?