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.
Thank you for spotting that! I just updated my test cases to have random tests.
Edit: Ok, should be working now.
Ha! Yeah, they're almost the same. Except yours is better described and tested ;) I looked through the approved katas to see if there were similar JS ones, but I hadn't looked through the betas.
Oh sorry, that would make sense. I'm getting familiar with codewars and how this all works- this is my first authored Kata.
I just unflagged it as a spolier.
Yeah, once I fixed the Math.abs problem, that test failed for me too. Hopefully that has also been updated. I'll check again.
Good point, this should not be passing. I'm looking into it now. Thanks for spotting that!
Found the problem and have fixed it. I had a mismatched paranthesis on Math.abs. Thanks again!