var arr1 = [2,3,5,88,99,444,66];var arr2 = [2,88,66];
arr_dive(arr1,arr2);
function arr_dive(aArr,bArr){ //第一个数组减去第二个数组
if(bArr.length==0){return aArr}
var diff=[];
var str=bArr.join("""");
for(var e in aArr){
if(str.indexOf(aArr[e])==-1){
diff.push(aArr[e]);
}
}
return diff;
}