Shyno
Don't be shy,no problem!
摘要: 构造 const set = new Set([1, 2, 3, 4, 4]); 可接受的参数为所有具有iterable 接口的数据 特性: 类似数组,无重复值。 const set = new Set([1, 2, 3, 4, 4]); [...set] //1,2,3,4 注意点: 1.成员值之 阅读全文
posted @ 2020-01-08 17:40 Shyno 阅读(4386) 评论(0) 推荐(0) 编辑