**Tell us what’s happening:**

Describe your issue in detail here.

```
**Your code so far**
```

```
function uniteUnique(arr) {
let result=arr[0];
for (let i=1; i<arr.length;i++){
for(let j=0;j<arr[i].length;j++){
if (result.indexOf(arr[i][j])==-1){
result.push(arr[i][j])
}
}
}
return result;
}
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
```

```
**Your browser information:**
```

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36`

**Challenge:** Sorted Union

**Link to the challenge:**