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.
i know it's shitty code, but it works
x,D
beautiful
In case of one test this one is good !!!
best solution
This comment is hidden because it contains spoiler information about the solution
No, this isn't required anywhere. 2 empty arrays are "same" (they are not null)
Input:
Therefore I'm returning
false
(as required) and I'm getting this:Sorry if I'm still not getting something.
Nothing broken. Before posting issues look at the top of the page: 17364 guys passed the JS kata. Sorry but your code is wrong.
Showing the input without the error message for it is useless. All the tests are correct, not an issue.
This comment is hidden because it contains spoiler information about the solution
And many were shown the tests are fine. Print something besides the input values. Like this:
Sorry, but given I can see the output (and the tests), I cannot confuse anything here. As far as I can see, many user reported this as failed.
Read this: https://docs.codewars.com/training/troubleshooting/ you're probably confusing a test case with another one.
Let me clarify:
Checked it in my local env as well, with the very same input (and solution, of course).
Loading more items...