Encontre partidas em duas matrizes

const intersection = array1.filter(element => array2.includes(element));
Lonely Loris