What is the best way to compare two arrays element by element ignoring the order? My solution:
var differs : Boolean =
(a.length != b.length) ||
a.some(
function(item : Object, index : int, array : Array) : Boolean {
return (b.indexOf(item) == -1);
});
May be the better solution exists?

