The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator.
isSameNode()
===
MDN Reference