Remova o elemento correspondente de dois JavaScript de Array
array1 = array1.filter(val => !array2.includes(val));
Embarrassed Echidna
array1 = array1.filter(val => !array2.includes(val));