In the “intermediate Algorithm Scripting” section of the javascript course, challenge “Drop it”.
Some of the tests(the second and the last tests) are not logical, you can see by reading the condition in the function func, that the results expected are not all right( some array elements expected in the result provided don’t pass the condition of the function func yet they are expected to be in the result by the creator of this challenge).
So basicly when the func returns true, return the rest of the array despite the fact that some of the elements in the rest of the array don’t pass the condition.
Thank you.