JS(ES6)去除數組中的重複記錄

1.雙層循環,外層循環元素,內層循環時比較值;若是有相同的值則跳過,不相同則push進數組html // formatConcatArr(array)==[ 1, 23, 2, 3 ]  formatConcatArr(array)=={{formatConcatArr([1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
相關文章
相關標籤/搜索