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
It's not supposed to expect undefined. I tried myself and it worked properly... That's odd.
Anyway, I had to re-publish because of another error (random tests were always 1-member arrays). Perhaps it solved your problem, somehow.
If you still get undefined, could you post your solution?
Translation approved. :)
Ruby translation submitted, waiting for approval.
I'm pretty sure.
Test Passed: Value == 69788
Expected: undefined, instead got: 69788 (Expected: undefined?)
I'm guessing it's a problem with the Random Tests.
make sure you're returning a number not a string.
This comment is hidden because it contains spoiler information about the solution