Returns items that a first array contains but the second array does not.
function difference<T>(firstArray: T[], secondArray: T[])
// Example:
difference([1, 2, 3, 4], [1, 2]) //=> [3, 4]
Returns items that a first array contains but the second array does not.
function difference<T>(firstArray: T[], secondArray: T[])
// Example:
difference([1, 2, 3, 4], [1, 2]) //=> [3, 4]