格式化正则ocr
wqh 2020-05-26 13:44:39
简单的数组去重
let a = [0,0,1,0,1,0,0,1,1,1,2,3,4,5,3,2,1]; let b = [... new Set(a)]; console.log(b); //[0,1,2,3,4,5]
首页 - Wiki Copyright © 2011-2023 iteam. Current version is 2.115.0. UTC+08:00, 2023-05-28 18:11 浙ICP备14020137号-1 $访客地图$