I have an array, and am looking for duplicates.
duplicates = false; for(j = 0; j < zipcodeList.length; j++){ for(k = 0; k < zipcodeList.length; k++
Cause you are comparing the first element of the array against itself so It finds that there are duplicates even where there aren't.