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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes.
They're called "arrow functions" on MDN, and sometimes "fat arrows" in casual settings.
when you use indexOf(), it returns -1 for elements not found in the array
You can't slice a regex.
This comment is hidden because it contains spoiler information about the solution
given that most modules in the standard library are written in Python, you can usually just implement it yourself if you like. There's no requirements as to what you must use, usually on only restrictions on what you can use.
The rank of a kata is set according to the votes of the ones who solved in when it was in beta. Then it cannot be changed. Many discourse pages are full of comments saying the kata should be more or less kyu... They are useless.
Hmmm.. seems like you need to add how many points each value will add for the final score, for example, how much score 'eating' will add.