var presents = _.intersectionWith(array1, array2, _.isEqual); var dif = _.differenceWith(array1, array2, _.isEqual);
_.differenceWith is only available since 4.0.0 lodash version
2.1m questions
2.1m answers
60 comments
57.0k users