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.
Cool thanks I didn't knew that thanks :).
Please use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting/#post-discourse
Why is your first assumption "the kata that has been completed over 57000 times in JavaScript must be bugged", rather than "I must be misunderstanding something"?
Also, this has been wrongly pointed out as an issue multiple times. A quick look through the discourse and you would have saved yourself some time.
Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
I suggest you ask ChatGPT, just copy past the part you do not understand and ask it to explain in detail, this is how I do it.
i passed the tests, yet my solution is wrong for 2*positive and 0
You're supposed to check if there are exactly two positive numbers.
Please read the description. It's one line; you should be able to do that.
That test is correct.
"twoArePositive": Test case is buged returning:
(4, 6, 10): expected true to equal false
Clearly all numbers are positive but they expect false please correct the wrong test case.