// set 集合转数组的2种方法
// 1.展开操作符
let s = new Set([1,2,3,4])
console.log([...s]);
// 2.Array.from
let s2 = new Set([1,2,3,4])
console.log(Array.from(s2));
// set 集合转数组的2种方法
// 1.展开操作符
let s = new Set([1,2,3,4])
console.log([...s]);
// 2.Array.from
let s2 = new Set([1,2,3,4])
console.log(Array.from(s2));