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.
I still dont get this one, any one can explain in more details?
This comment is hidden because it contains spoiler information about the solution
Seems like an IIFE (immediately invoked function expression). Then it also seems it operates as a closure hence keeping the i in the lexical scope. :-)
Sick still!
This comment is hidden because it contains spoiler information about the solution
Do you think so? It increases the dependencies but it reduces the implementation code itself.
I tend to think that as long as the code is clear it might make sense.
Or with an array of the answers :-)
And the test is included in the implementation code :-)