Compares two arrays and returns the items that are only in arrayA, only in arrayB, and in both arrays.
first array
second array
an object with three properties: onlyA - items that exists only in first array, onlyB - items that exists only in second array, both - items that exists in both arrays
Compares two arrays and returns the items that are only in arrayA, only in arrayB, and in both arrays.