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.
If you are going to reverse it wouldn't it be better to use tail which is more efficient?
Or equivalently,
Of course
reverse . tail . reverse
is just a less efficient (and stricter)init
interesting way of throwing errors!
I'm glad you enjoyed it! It is always good to find out it helps some one!
All katas here improved my skills, but this really made me learn a new feature in JS (something that didn't happen a long time).
Simple, short and super smart. Kudos!
Apology accepted :)