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
Nice functional style. I like it. It is very easy to see what is going on.
Thank you :) I wasn't aware of this javascript quirk. What I don't understand now is why cheating solutions gets upvotes or why people even submit them. Sure, it is interesting hack and I learned something new, but isn't the idea of this exercises to see how some problems can be approached differently (and sometimes presumably better) than you.
Can someone please explain this solution to me? I will be very grateful.
I ran into the exact same issue but I managed to solve it. It was related to incorectly entering the [] loop.