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.
your code is wrong : the
lenght
property ondigits
doesn't exist, so the first condition is useless... and if you had correcctly spelled thelength
property, your solution wouldn't have passed.The translator is Giacomo (his
i
is global) and now it is impossible to change something because of the 500+ guys who passed JS kata.I think you both used global
i
.Beginning of JS random tests:
I just passed the JS kata and got
Passed: 49 Failed: 0
Description says:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution