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
If you don't know https://regex101.com/ it's an awemsome tool where you can test your regexp and also, find quick references, quizz etc.
no. /./ is anythngs so it can be number char special char space, etc
If you want more information you can take a look to this article
Why you think that?
I just test it in the console and my solution return 1, that seems to be the right answer, isn't it?
This comment is hidden because it contains spoiler information about the solution
I didn't test but as you didn't give end function to the first call, if you have only 1 link end will never be called.
http://www.codewars.com/dojo/katas/reviews/52b7ed099cdc285c300001d0/groups/52bb7e8fc5f53714ce000435
May precise to not modify given array.
yours is clearly smaller and cleaner :)