const keys = Object(filters); const item = items.filter(element => keys.every(key => filters[key] === element[key] );