Read the instructions in the challenge carefully.
Input arrays should not be modified.
A spilce() method returns:
An array containing the deleted elements.
If only one element is removed, an array of one element is returned.
If no elements are removed, an empty array is returned
See if this helps you in finding out your mistake.