lodash find difference between two arrays for one array code example Example: diff two arrays lodash _.difference([2, 1], [2, 3]); // => [1]