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.
Copied some basic tests to the sample tests. Fixed.
Don't bother! I figured it out myself. By the way, +1 for good use of
splice
.Looking at your code, I see you added a third argument to
splice
.How come that fixed the solution?
Try again, it seems to be working fine under
Nodev6.11.
Of course, some test cases are failing, but they are only a few.