for(var i in li)怎么不可以呢
for(var i in li){ ? ? ?document.write(li[i].nodeName+""+li[i].nodeValue+""+li[i].nodeType+""); ?} 0 LI 0 null 0 1 1 LI 1 null 1 1 2 LI 2 null 2 1 length undefineditem undefineditem undefineditem undefinednamedItem undefinednamedItem undefinednamedItem undefined 多了很多東西怎么回事?
2017-08-07
for in循環(huán)是python里的吧
2017-04-19
http://idcbgp.cn/qadetail/206615