Hapus elemen pencocokan dari dua array javascript
array1 = array1.filter(val => !array2.includes(val));
Embarrassed Echidna
array1 = array1.filter(val => !array2.includes(val));