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.
Am I understanding this wrong or is this kata flawed? As I've understood tail, it's supposed to take the elements remaining after cutting off the head. But when running the tests, I get this:
Tail failed. - Expected: [], instead got: [46,5,26,44]
Edit: Nvm. Purity is key!
The index keeps on running without any knowledge about the spliced array. It will therefore jump over some of the elements in the array.