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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
“Its the not the Destination, It's the journey.” - Mao Zedong
lol cheater
What the error message of the failed test? Btw, when 'big' tests are failing, I try to debug the code with console.log() for example. I hope this can help you to investigate the issue in your code.
Nice idea. But it doesn't work with all values in JS. For example it returns true with 1 and 2
From description:
""xor" only returns true if EXACTLY one of the two expressions evaluate to true."
Yep, it helped. Thanks :)
It's a known bug. Resubmit your solution; if you submitted it successfully before, it should be saved in your profile.
Guys, I've finished this kata second time with another approach and now I cannot see "Solutions" and "Forks", it says that I didn't unlock this kata because I didn't resolve it. Maybe someone knows how this can be fixed?
Why you need the 'str' variable?
I was wondering the same and looks like you are right. Maybe the test suite should be improved for this kata.