数组去重加合并
let arr=[1,2,3,3,3,3];
let arr2=[1,2,3,3,3,9];
console.log(Object.assign(arr,arr2));//[1, 2, 3, 3, 3, 9]
数组去重加合并
let arr=[1,2,3,3,3,3];
let arr2=[1,2,3,3,3,9];
console.log(Object.assign(arr,arr2));//[1, 2, 3, 3, 3, 9]