摘要: function uniqueArray(data){ data = data || []; var a = {}; for (var i=0; i<data.length; i++) { var v = data[i]; a[v] = 1; console.log(a) }; data.lengt 阅读全文
posted @ 2016-04-07 19:18 djdliu 阅读(203) 评论(0) 推荐(0) 编辑