摘要: From : http://zhangbq168.blog.163.com/blog/static/23735305200952902915902///去重复数据<script>Array.prototype.deldistinct=function(){ var a=[],b=[]; for(var prop in this){ var d = this[prop]; if (d===a[prop]) continue; //防止循环到prototype if (b[d]!=1){ a.push(d); ... 阅读全文
posted @ 2011-09-30 16:30 Athrun 阅读(693) 评论(0) 推荐(0) 编辑