求解释一下每行代码是什么意思
for (var i = 0; i<infos.length; ++i) {
if (infos[i][3] != '大一') {
infos[i] = null;
}
for (var i = 0; i<infos.length; ++i) {
if (infos[i] != null && infos[i][1] == '女') {
document.write(infos[i].join(',') + '<br>');
}
}
for (var i = 0; i<infos.length; ++i) {
if (infos[i][3] != '大一') {
infos[i] = null;
}
for (var i = 0; i<infos.length; ++i) {
if (infos[i] != null && infos[i][1] == '女') {
document.write(infos[i].join(',') + '<br>');
}
}
2017-04-13
举报