摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--Array.prototype.del=function(){vara={},c=[],l=this.length;for(vari=0;il;i++){varb=this[i];vard=(typeofb)+b;if(a[d]===undefined){c.push(b);a[d]=1;}}returnc;}alert([1,1,2,3,4,5,4,3,4,4,5,5,6,7].del()); 阅读全文
posted @ 2011-01-07 14:43 Yithcn 阅读(286) 评论(0) 推荐(0) 编辑