Cómo obtener diferentes valores de dos matrices JS
let difference = arr1
.filter(x => !arr2.includes(x))
.concat(arr2.filter(x => !arr1.includes(x)));
Sore Seahorse