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
Hi,
Extra info.
In c# we don't have tail call optimization, we need to be careful with the using of recursive methods.
Greetings,
Hilário Cunha
To complement the info provided by Kamilius.
http://www.w3schools.com/Js/js_object_definition.asp
Yes.
The first parameter of the apply is used to define the value of the "this" in the function.
You can read more in the following link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply