const diffArray = (arr1, arr2) => {
const newArr = [];
for (let key of arr1) {
if (arr2.indexOf(key) === -1) {
newArr[newArr.length] = key;
}
}
for (let key of arr2) {
if (arr1.indexOf(key) === -1 && newArr.indexOf(key)) {
newArr[newArr.length] = key;
}
}
return newArr;
}