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?