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.
Looks good! I need to give more ateention to tricks like ||
Why do you use Array.prototype.reverse.call instead v.split('').reverse()?
Yeah! Now, I see that I could use "prev" variable instead "char" to return final result. It would be more sophisticated solution. Thanks for help!
You are not making use of the functionality of reduce (the accumulator or initial value is left unused). But it's nice to see someone else using reduce for this :-) Feel free to look at my solution how to use the accumulator.
I am so upvoting this comment! On my machine my script works excellent upon many tests, but here...
You should notice about "undefine" condition in kata description.