Le filtre comprend le tableau

let intersection = arr1.filter(x => arr2.includes(x));
Cautious Chimpanzee