求两个数组的交集, 无重复值 let firstArray = [3, 2, 2, 3, 1] let secondArray = [2, 3, 2, 5, 4] function intersection(arr1, arr2)