摘要: var arr = [1,1,1,2,2,2,3,3,3]; function norepeat(arr){ //第一种去重方法 for(var i = 0; i < arr.length - 1; i++){ for(var j ... 阅读全文