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
The idea to use RegEx for this is broke my mind. If someone know how it possible, please tell me (seriously :)
There is three things that need your attention in this Kata. 1) You get a string 2) If you split this string, you also get strings but in array 3) JavaScript is a loosely typed and dynamic language but it has methods for pointing type of data (it is helpful with compare).
You can find tones of good information about JS in MDN Web Docs
I also thought about this
I came to the conclusion that this is a number that is lacking to 9.
For example 1 = 8 (1 + 8 = 9), 4 = 5 (4 + 5 = 9), 7 = 2 (7 + 2 = 9) ...
I agree that the description is a little confusing