A utility function that returns the difference between two arrays.
arrayDifference([1, 2, 3], [2, 3, 4]) // [1] Copy
arrayDifference([1, 2, 3], [2, 3, 4]) // [1]
arrayDifference([1, 2, 3], [4, 5, 6]) // [1, 2, 3] Copy
arrayDifference([1, 2, 3], [4, 5, 6]) // [1, 2, 3]
The first array.
The second array.
An array containing the difference between the two arrays.
A utility function that returns the difference between two arrays.
Example
Example