I\'m trying to find an easy way to loop (iterate) over an array to find all the missing numbers in a sequence, the array will look a bit like the one below.
var nu
It would be fairly straightforward to sort the array:
numArray.sort();
Then, depending upon what was easiest for you: