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
You can't delete a submitted solution.
Apologies, I have no idea how to delete this and I did not know you could refactor your code. But please look at updated code here: https://www.codewars.com/kata/reviews/586360d6248954315c00040d/groups/62376c3c431e3f0001195563
Please use a spoiler flag when you post code. This feature is available from Node.js 12.0, the kata uses 10.0 (search the documentation online and you will find it).
This comment is hidden because it contains spoiler information about the solution
Without knowing the language and how you're trying to use it, it's hard to say.
This comment is hidden because it contains spoiler information about the solution