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
Javascript naming convention for functions and vars is camelCase.
hi,
Unfortunately, there's nothing new here (we have already tones of this kind of kata).
Moreover, you don't have enough tests neither random tests. And once you add random tests to it, you'll run directly into floating points troubles: since you compare strings, you can encounter solutions that will be considered incorrect while they are, just because the calculations are done in a different manner than in your reference solution.
You should unpublish it, imo.
Cheers