javascript数组去重方法总结(推荐) 第一种--对象键值去重Array.prototype.unique1=function(){varr={},temp=[]for(vari=0;i<this.length;i++){if javascript数组去重方法