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.
But... IT'S BUGGED O_O !!!!
:P
Did you try solving it yourself? 6kyu might be a bit low imo
Added sample test, random tests, and re-ranked to 6 kyu
Needs actual example test cases.
Excellent, I'll read up on that link. Thank you for your reply.
The chief advantage is that all the objects will share the same method instead of a new one being created for each instance.
You can find a more detailed difference here: Declaring javascript object method in constructor function vs. in prototype
I'm curious about the difference between adding the method to the constructor versus using the prototype method as shown in this answer. What's the advantage? Many users have voted this solution a best practice so I imagine the difference is significant. Thanks.