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
thanks!
Please, read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution entirely, about how to debug your code and if you're sure there is a problem, about how to properly post your code so it can be checked, there are more than 1000 solutions in js already, so it's a problem with your code.
The solution is correct, but when trying to pass all tests, the code does not run. JS
how to handle exception when array is [1, 2, 4, 5, 5]