The simplest way to filter is to use the array’s filter() function, similar to this:
people.filter(person => id_filter.includes(person.id))
The simplest way to filter is to use the array’s filter() function, similar to this:
people.filter(person => id_filter.includes(person.id))