Your first paragraph and second paragraph sound like two different
specifications.

Let's try a concrete example. Assume you have these two arrays:

[4,7,9,3,6]

[3,6,9,3,7]

What should the output be?

> Is there a function that exists for the purpose of comparing 
> two arrays and returning the values that are different? The 
> arrays I'm comparing are likely to contain all the same 
> values but in a different order. From what I read in the 
> jQuery docs there is no function to compare array orders.
> 
> I can think of a solution where I make a function to loop 
> through both arrays sequentially and simultaneously, 
> comparing each value pair and spitting out the ones that are 
> different. Does anyone know of a function that already does 
> this? If not, would it make a helpful plugin for jQuery?

Reply via email to