Ok, but I think that code isn't cheating and I use a for loop there, so maybe specify it better in the description?
The kata only allows code within a for loop
This comment is hidden because it contains spoiler information about the solution
You should mention the r==undefined case in the description. Or is it wanted that the users think "Yay, I solved it!" and then get beaten in the chest when submitting their solution?
Hmm, I have 27 characters and I don't think I can reduce the one missing byte... That r==undefined breaks my neck.
Challenging. It looked so easy...
Edit: Phew, indeed I could reduce one more!
...That's the point of a golf kata? And what's the issue with only allowing one specific solution anyway?
At this point I just have to say, your opinion on this sucks. Period.
Kata only allows one specific solution.
It's really fun, not prefect but great imagination!
Sure it isn't. But this case wasn't among tests, so I passed.
The solution is wrong "abc" is not anagram of "aad".