摘要: 1 var a='1324564789798496465498'.split(''); 2 //方法1 3 var b=new Set(a); 4 console.log(Array.from(b)) 5 //方法2 6 var c=a.reduce(function(total, num){ 7 ... 阅读全文
posted @ 2018-08-28 13:46 V黑匣子 阅读(188) 评论(0) 推荐(0) 编辑