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.
@KoneVtwo when this solution was published, ES6 might not have been released yet.
Genuinely impressed. The only question I have is : why didn`t you use the arrow function?
Really clever and simple to understand solution :)
I can't believe I've been checking string lengths this whole time.
This comment is hidden because it contains spoiler information about the solution
For what is '0' at the start of return ?
Thanks :)
Clean and readable :)
I would remove comma from return strings. It's unnecessary.