关于var sum = 0; for (var i = 0; i < sourceArr.length; i ++)
var score = new Array();
var sum = 0;
for (var i = 0; i < sourceArr.length; i ++) {
sum += parseInt(sourceArr[i].substr(sourceArr[i].indexOf(":")+1));
//document.write("<br>" + sum);//test
}
求问加粗部分应该怎么翻译解释?