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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The instructions cleary state that we should use mystery() in our test cases: "Using your own test cases, try to call the mystery function with different input strings"
So... This seems kind of impossible, since mystery() calls in submit seem to be met with "nice try but you are cheating"...
This comment is hidden because it contains spoiler information about the solution
Whoops, must have missed that line, my bad!
You're correct, there's a problem with the spec. I hadn't caught this either, but "exceeds 10" definitely means "> 10"
There's a problem with the spec. An empty array should score 100 points, since no member in the array was >= 5...
This comment is hidden because it contains spoiler information about the solution
This is awesome, but how come you ~~number twice in Math.ceil? Wouldn't it be better to say var floor = ~~number; ?