1.ES6使用set数据结构元素唯一特性:
// 去除数组的重复成员 [...new Set(array)]
数组去重
原文:https://www.cnblogs.com/kaiqinzhang/p/11496429.html