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.
I would say that's a bit messy syntax. Function should be declared at least with 'const' keyword.
Thank you!
It matches all whitespace characters like tabs or newlines. It's not better, in fact it's likely slower, but it might be more robust in a real world scenario.
this is longer and more complicated than the original, so how do you think it's better?
Nice edge case addition
Nice!
Nice. Very clean, succinct, readable.