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.
Please look at the top of the page: 387 people solved the JS kata.
Can anyone confirm this is solvable in JS?
same for me.With JS it is not going well.
if n > 170, then it return NaN, using JS, with others numbers it works
not exactly like this one
fixed now its working correctly. also guys I don't know how to use Random.
More accurately, it seems
replaceSpacess
is the name of the function that the test code uses to generate the expected solution, and that it was simply not included in the test cases. Thus, random cases can be bypassed by just making surereplaceSpaces
andreplaceSpacess
return the same thing.There're already many katas asking you to perform a regexp-based replace.
Random tests expect the function to be called
replaceSpacess
.Description formatting is broken, and the examples are displayed wrongly.
This is not new.
Also, you're not using appropriate data types, you're illustrating the order of combinations by example instead of specifying it, and you're missing
""
, which is quite generally accepted to be a valid combination. Oh, and, no random tests.Please just unpublish this.