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.
You don't give any element to prove what you say. This kata has been solved more than 1200 times in JS and nobody pointed out any issue. I've just tried my old code and it works with no problem. You must do something bad. Maybe this can help you: Troubleshooting Your Solution.