var newArr = arr.filter(element,index,self => self.indexOf(element) == index);
js array 去重
于 2023-11-24 11:25:43 首次发布
var newArr = arr.filter(element,index,self => self.indexOf(element) == index);