document.querySelector() returns an element that's not an instance of Node

前端 未结 0 2051
醉酒成梦
醉酒成梦 2020-11-22 15:28

I\'m traversing the DOM and one of the divs I analyze looks different than the rest. All other divs:

document.querySelector(\'#somediv\') instanceof Node
// t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题