I get that there are several solutions but the solution provided is different from what the challenge is asking. This can be confusing later on. Since modifying an object is different from returning a new object.
It is kind of confusing since the instructions says to remove values from an array and the solutions/hints does not show any omitting of values from an array. So, I think changing how the instruction are worded should clear the misunderstanding.