for (let n = 0; n < oLi.length; n++) {
oLi[n].className = "";
}
this.className = "current";
for (let n = 0; n < oUl.length; n++) {
oUl[n].style.display = "none";
执行下面的for循环时,上面for循环的n值是否也会变?
幕布斯7119047
相关分类