将数组转换为 Set(去重)
任意值
Set 对象,异常时返回空 Set
arrayToSet([1, 2, 2]); // Set { 1, 2 } Copy
arrayToSet([1, 2, 2]); // Set { 1, 2 }
将数组转换为 Set(去重)