为什么会存在多少次清除?
for(var i=0;i<content.childNodes.length;i++){ var chnode=content.childNodes[i]; content.removeChild(chnode); 为什么会存在多少次清除?
for(var i=0;i<content.childNodes.length;i++){ var chnode=content.childNodes[i]; content.removeChild(chnode); 为什么会存在多少次清除?
2016-02-04
举报