function diffArray(arr1, arr2) { return arr1 .concat(arr2) .filter(item => !arr1.includes(item) || !arr2.includes(item)); }