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.
I may have been a little over zealous in my test cases ;)
What I usually do when I'm trying to determine what the test parameters are for a kata is to log them out using conole.log(). I'm not hiding the test cases, I just don't see any way to make them visible.
I suspect you're failing on this test case: scoreHand(["A", "J", "A"])
I must have missed that the first time I read "JavaScript: The Good Parts". Thanks for reminding me.
The test cases are not random to ensure that corner cases are covered, as you stated. The correct answer to ["8", "A", "A"] is indeed 20. If you answered 10 that is incorrect. According to the spec the result must be the highest score less than or equal to 21.