ES6数组去重法

let newArray=[...new Set( Array )]

posted @ 2019-12-26 16:30  lucy123  阅读(168)  评论(0编辑  收藏  举报