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.
nice
nice very nice !!!
because the destructuring)
Hey, toFixed(n) actually converts number to string, therefore toString() is redundant :)
Thanks for sharing - inspiring solution :D
Cool functional approach, this is what I was looking for, but couldn't discover! +++1
Hey, perhaps you found your answer, but let's try anyways! Const is expression and function is declaration. Difference is subtle - relies on execution context. Function declaration are ran as the scrpt loads (hoisted) and expressions are ran when your script reaches them (and const / let are not hoisted)