The prompt is:

Compare two arrays and return a new array with any items only found in one of the two given arrays, but not both. In other words, return the symmetric difference of the two arrays.

**Note:** You can return the array with its elements in any order.

I am really lost on how to continue solving this. This is the code I have written so far:

```
function diffArray(arr1, arr2) {
let stupidArr = [x];
let same = 0;
for(let i = 0; i < arr1.length; i++) {
same = 0;
for(let k = 0; k < arr2.length; k++) {
if(arr1[i] == arr2[k]) {
same++;
}
}
if(same == 0) {
stupidArr.push(arr[i]);
}
}
return stupidArr;
}
diffArray([1, 2, 3, 5], [1, 2, 3, 4, 5]);
```