Returns the array of all elements in the first array not contained in the second array.
difference([1,2,3,4], [7,6,5,4,3]); //=> [1,2] difference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5]
The elements in a that are not in b.
a
b
Generated using TypeDoc
Returns the array of all elements in the first array not contained in the second array.