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.
Fixed.
Thanks for the detailed explanation. I've just removed the error from tests.
I appreciate the feedback!
Sample tests:
JS does not work like this, there are no named arguments.
In fact you're just assigning stuff to global scope, which (fortunately) happens to be not exploitable, but it's not an acceptable practice by any stretch.
I appreciate the feedback, and apologise.
I've added random tests and change the return value for negative numbers to be consistent with positive numbers.
I would highly appreciate any additional feedback, @JohanWiltink
No random tests.
Inconsistent return value data types is not a best practice.
Why bother with input validation at all?
Not an issue
Kata instructions could be more detailed. Some issues popped up only after submitting and seeing the various test cases fail...