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.
These iterators are something from another world, but I'm gradually getting used to them.
The moment whent I really appreciate arrow functions' syntax
Because it's the initial value of the "sum" variable
The rank is the only thing I'm mad about. I mean, 6 kyu is right next after "fundamentals" (which is 7-8), it's not fair to demand optimizations on this level.
This "too slow" condition is stupid as hell for 6 kyu. If the code works, it should be accepted.
DAMN
wait what D:
I desparately searched what property contains the value of primitive types in JS.
Then I finally realized I can just use "this" and it works.
TIL, but it's not straightforward at all, I don't even know where I could learn it.
I know there's sort() method, just tried reversed bubble sort