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.
(whistling)
It's wat I did in JavaScript too. Rather dissappointing that the tests do not look for this efficiency.
Maybe you should add that to the description, phantamanta44?
Resolved!
To be more precise, you cannot use either enums or interfaces or other classes.
This comment is hidden because it contains spoiler information about the solution
That's the way I did it! Resolved this kata before viewing your post here. Glad that we think alike. :D
That sounds like a very smart solution. CodeWars isn't showing your solution, can you link to it or post it here?
I modified the description slightly. Hopefully that clears things up.