ES6数组去重法

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

原文地址:https://www.cnblogs.com/lucy1111/p/12102789.html