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.
It took me really long to understand why the call to
new Singleton
works here.In case anyone happens to get puzzled by it, the constructor will return
undefined
the first time around (asinstance
hasn't been set). That causes thenew
keyword to create a new object inheriting fromSingleton
's prototype. After that,instance
will be returned normally by the constructor.This comment is hidden because it contains spoiler information about the solution
Tiriana, there appears to be a hint in the kata tags.