You have to change your filter function. You are returning two values but it stops on first return.


return !powers.includes( and return !grills.includes(


return !powers.includes( && !grills.includes(;

I hope this will solve you problem.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top