Splice is destructive and changes the array, and the result isn't what you want...