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
Issue with your code, that's not the way to retrieve indexes
Glad you got it sorted out. :)
This comment is hidden because it contains spoiler information about the solution
Hi @exor, I can only see a partial solution from you and it looks like you're raising the error correctly ie
throw 'error'
. What message do you get that's causing your solution to fail?I try "return 'error'" - not work for me. Just return.replace(/return/, 'throw')
The tests just check for an error so the error itself doesn't matter.
In JavaScript for example
throw "error"
I think I estimated it at a 7. I won't complain if you do something about it.
Can you?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution