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.
or for
isPositive(-0)
.One might debate whether or not
NaN
is a valid input ( so this should be specified ).No test for
isPositive(0) === false
, and your solution returns the wrong result for it.The anticheat is weak.
Sample tests are not testing anything.
Note: this is a version i already made to deal with numbers that has "." this is why its too big :)
Issue not specified.
Not an issue.
This comment is hidden because it contains spoiler information about the solution