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.
lovely piece of code
Nice and compact solution!
they copied...
How did so many people come to this solution?
Definitely clever, not sure why people tend to vote best practices on solutions that are nearing code golf level of cleverness though. If most people were straight up handed this code at their job, it'd take them a while to even figure out what it does, let alone work with it.
Wowzer
This is very clever. How did you come up with this way of doing it?
You should make it one of your one-liner katas!