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 tip thanks:)
You can just return + r.toFixed(9) to truncate up to 9 decimal places
Use this for reference:
https://stackoverflow.com/a/12830454/11879596
You can just map throug the string itself with the for..of loop without splitting it to a list first.
Well, this made me smile :)