var scores = [90,70,58,60];
var newScores = [88, 55, 60];
for(var i = 0; i < scores.length; i++){
for(var j = 0; j < newScores.length; j++){
if(scores[i] !== newScores[j]){
scores.push(newScores[j]);
}
相关分类