Unique array by array element
通过数组元素的相同性来实现数组去重
The type of elements in the array / 数组元素的类型
The array to remove duplicates from / 要去重的数组
The array with duplicates removed / 去重后的数组
uniq([1, 1, 2, 2, 3, 3]) // => [1, 2, 3] Copy
uniq([1, 1, 2, 2, 3, 3]) // => [1, 2, 3]
Unique array by array element
通过数组元素的相同性来实现数组去重