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.
:) You're welcome!
Thanks! You could still use parseInt and parseFloat, or "+" depending on the use case (i.e. parsing strings with non-numerical characters vs. parsing hex values), but I find "+" convenient for working with TypeScript in general.
Here is a helpful table for reference:
https://i.stack.imgur.com/QNMfI.png
*Lol at second glance it appears I accidentally flipped the params in reduce. Should be:
.reduce((acc, n) => acc + n)
My apologies dinglemouse -- I indeed made a mistake. Yes it was JavaScript -- thank you. And Thanks for putting words in my mouth FArekksu -- so helpful.
Many of the test cases are wrong, even after testing them against unlocked solutions.