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 see it now, will try in the future.
Thanks a lot :)
Nope
It returns undefined:
https://ibb.co/KxYFZycw
The issue not with random tests, but with the fixed test called "one".
Ok, will try discord sometime in the future, thanks
It returns undefined even if
ownedCatAndDog(15,15)
is called. That is the issue.I specifically updated it to see the error.
I tried bunch of stuff, including straight up if else statements (latest one, yes).
You can simply try catching (15, 15) without any other particular logic/variables/etc (that's what i call hardcoding) and it will return an error.
@hobovsky
I am afraid that's incorrect.
Console.log and test cases provide different results, so there is no way to debug the issue.
And as I said, even hardcoded solutions return this particular issue.
Even if you hardcode everything, you will still get an error in JS's test cases:
It is incredibly hard to check for test cases as well.
All of them do work upon manual logging.
JS tests are not valid, I think.
Same issues as xp3 had.
doesn't work anymore