js 数组去重(es6)方法 2017-11-08 本文已影响135人 EdmundChen 方法(es6) 利用set数据结构成员唯一方法 const uniqueTwo = (array) => [...new Set(array)]