集合介绍与API声明一个set//声明一个set
let s = new Set();
let s2 = new Set(['1','2','3','4'])
console.log(s2)
元素个数console.log(s2.size
2021-10-12