What is a node in Javascript?
问题 I was wondering what exactly a node is in JavaScript? As in the functions: element.nodeType row.parentNode.removeChild(row); 回答1: A "node", in this context, is simply an HTML element. The "DOM" is a tree structure that represents the HTML of the website, and every HTML element is a "node". See Document Object Model (DOM). More specifically, "Node" is an interface that is implemented by multiple other objects, including "document" and "element". All objects implementing the "Node" interface