摘要: [javascript]Array.prototype.distinct = function(){ var i = 0; while( i < this.length ){ var n = this[i]; this.splice(i,1,null); if(this.indexOf(n) < 0){ this.spli... 阅读全文
posted @ 2011-02-19 18:38 7hihi 阅读(120) 评论(0) 推荐(0) 编辑