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.
A really smart way of doing this. Amazing.
There's quite a lot of things you can improve here:
describe
block andit
block's message)assert.strictEqual
fromchai
. The Codewars's custom framework is deprecatedI see that this is your first translation. You might want to check out Translation Authoring Guidelines for in-depth explanations.
It works, cuz if you watch in the test, the .match method takes also the comment code, so, it works due he is returning 32 items in the array and also for the test which is taking the comment code (+, *, +, *)
I just hate myself for not doing that like this!!
OMG, NICE!
nice one
Nice solution