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
+1 don't mutate original array
No answer. Closing.
Or just explicitly test for the result being an array.
However - the answer should always be an array. Why would you complain about tests barfing on anything else?
Hi!
Do you can change in the test zone?
return array.slice().sort(function(arr1, arr2)
to
return Array.from(array).slice().sort(function(arr1, arr2
Fix issue to 'array.slice is not a function'
This comment is hidden because it contains spoiler information about the solution