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.
Anyway, a
suggestion
tag means a suggestion for the kata/author/contributors, not users. Closing.You're right about that.
Yeah, this kata is cool and all but it even rejected my code just because it had a blank newline, like yeah wth
For Anyone wondering how it works, I think it has everything to do with the verson of Node you are running, like when I ran it here on CodeWars (node v8), it did reverse the array. But when I tried the same on my local machine (node v12), it did not flip it. I also tried this on other online compilers, both version 8 and 12 and found the results same as what I described. I think we just may be exploiting a bug of the version 8 node. I sure might be wrong, so anyone who has another theory, please comment down.
Daym dude, thats cool
non-latin and all is fine, but thats gotta be the best answer
you should have used regex, no offence, just tryina help out
This comment is hidden because it contains spoiler information about the solution
man thats very clever, gg
It sure was a clever way, Also the loop runs one time less than all general solutions
perfect use of map and reduce, GG!