Js与Jquery教程 ES6黑魔法filter之数组去重xiaoqi 发布于 2017-05-27let s = [1, 0, 2, 0,5,4,5,44,5,0,0,0,0,5]; console.log(s.filter((x, i, itm)=> x && itm.in […]标签:ES6 / filter / 去重 / 数组