arrays.difference difference(arrayA, arrayB) Finds the difference of two arrays Arguments arrayA (Array): first input array arrayB (Array): second input array Returns (Array): an array containing the difference Example const result = arrays.difference([2, 1], [2, 3]); console.log(result); > [1]