JS 两个数组的交集
var numOne = [0, 2, 4, 6, 8, 8];
var numTwo = [1, 2, 3, 4, 5, 6];
var numOne = [...new Set(numOne)]
var duplicatedValues = numOne.filter(
item => numTwo.includes(item)
);
console.log(duplicatedValues);