What is a node in Javascript?

后端 未结 4 1409
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 03:14

I was wondering what exactly a node is in JavaScript?

As in the functions:

element.nodeType
row.parentNode.removeChild(row);
4条回答
  •  天涯浪人
    2021-01-30 04:09

    A node (of DOM) is an element, from your HTML page, rendered by the browser to said “node tree” and on screen. It is to be accessible and manipulated by web-client programs, like JavaScript.

提交回复
热议问题