es6 数组去重

  1. Array.from(new Set([5,5,6,6,8,]))
  2. [...new Set([5,5,6,6,8,])]

0 个评论

要回复文章请先登录注册