//深度优先 function deepLogTagNames(parentNode){ console.log(parentNode.tagName); const childNodes=parentNode.childNodes; //过滤没有tagName的节点,遍历输出 Array.prototype.fil... Read More
posted @ 2019-03-10 22:59 古墩古墩 Views(370) Comments(0) Diggs(0) Edit