Intermediate Algorithm Scripting: Drop it Question

Hi All;

I have a question the topic which is mentioned in title. Why it is not worked if we use filter method ? Like below ?

function dropElements(arr, func) {
  // Drop them elements.
  return arr.filter(func);
}

console.log(dropElements([0, 1, 0, 1], function(n) {return n === 1;}));

This should be returned as [1,1] why it is require to [1,0,1] ?

@OKjns, here are the challenge instructions:

Given the array arr , iterate through and remove each element starting from the first element (the 0 index) until the function func returns true when the iterated element is passed through it.

Then return the rest of the array once the condition is satisfied, otherwise, arr should be returned as an empty array.

Key words are: "Then return the rest of the array".

[1, 0, 1] should be returned.