how to remove matching records from two array in node code example
Example: remove matching element from two array javascript
array1 = array1.filter(val => !array2.includes(val));
array1 = array1.filter(val => !array2.includes(val));