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.
The code will not work correctly for double digit scores. But this particular kata only tests for scores from 0 to 4 on each side.
Nothing will happen. Read the description.
What will happen if one of point be more than 10?
Strange. Till I don't use "String(digits)", I got "substr is not a function".