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.
Your own test code is irrelevant then; it's testing the wrong thing(s). Try
The error in which a random array of values doesn't return the array without the last value. I'm not sure what's going on under the hood of the codewars random array testing. I can't get any of my own test code to return the error given the same input.
which error ?
This is what I did, and I think I understand that it's better to return a shallow copy that mutate an existing array. However, I don't understand why the error happens. Can someone explain?
The only thing standing between me and that 200k job is being able to spell 'function' correctly every time 😂