Filter My Array / JSON Data Based on Multiple Criteria in JavaScript?

View other answers to this thread
Hermis's photo

Hey, You can use every for ""AND"" and some for ""OR"". In your case, you want to go through the list of keys (so every for AND) and then check if the value exists in the search array. indexOf should do the job. For everything and more, I use JS UI for most of my projects.