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.
Thankfully the tests don't test for "sample", which is good because the behavior of the function when text is in the array isn't specified anyways, so assuming they are truthy is the only sane way to go.
I don't know why 0 * -1 = -0 in JavaScript which is very different from math. Every number that multiplies with 0 should be result in 0 right?
ofcourse!
This comment is hidden because it contains spoiler information about the solution
Because that doesn't do what the problem requires.
This comment is hidden because it contains spoiler information about the solution
Ruby needs random tests.
Without even a language, your code, and error messages, this issue is useless. Closing.
Weeeee
Woooow!
-0 is 0. Do you know what the word "bug" means? It means when actual behavior fails to match expected behavior, which is not the case here.
This comment is hidden because it contains spoiler information about the solution
-0 is 0
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...