标签: javascript
此处已检查为未定义,我无法使用此属性:
function removeItem() { li = ul.children; for (let index = 0; index < li.length; index++) { while (li[index].children[0].checked) { ul.removeChild(li[index]); } } }