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.
Yes, it's not an issue. Just meant to be feedback.
I'm ranking this a 7 due to the small input range. Had the range been 0 <= 255 I would have ranked it a 5.
Why range to n + 1? ;)
It works up to 254, you can test this by replacing the
,
with a--
. On a 16-bit interpreter it would work up to 65534. Unfortunately it's not possible to write a test case for it, because javascript encodes everything as utf 8 (so just about everything comes out as 195).