HTML DOM isSameNode() Method
HTML DOM isSameNode() Method
The isSameNode() method is used to check if two nodes are the same node. If they are the same it will return true else false.
Syntax:-
Its syntax is:- node.isSameNode(node)
Return:-
Its return is:- true if nodes are same else false
Further Explanation:-
Parameter | Description |
---|---|
node | Required. The node we want to compare with specified node. |