Continuing the discussion from freeCodeCamp Algorithm Challenge Guide: Seek and Destroy:

I got stumped at the for loops while trying to understand the basic code solution…

```
i = 0; i < arr.length of 3
j = 0; j< args.length of 8
if (arr[0]===args[0]) aka if [1,2,3,1,2,3] === [1,2,3,1,2,3]
condition is true, delete arr[0] (arr[0] becomes undefined)
j = 1;
if (arr[0]===args[1]) aka if undefined === 2
```

what am I missing?