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.
Anyone wanna explain this one ?
This comment is hidden because it contains spoiler information about the solution
It has to do with the way that functions are called. If you substitue the addOne(3) with the value assigned to it, you get:
var addOne = add(1); addOne(3) equals add(1)(3);
So the call passes the arguments in the set order.
Could anyone explain to this newb, how does this work ?