如何使用Lodash获取2个数组之间不相交的值?
预期的:
const arr1 = [1, 2, 3]
const arr2 = [2, 3, 4]
console.log(unintersection(arr1, arr2))
输出
[1, 4]
慕无忌1623718
相关分类