This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

Node.isSameNode()

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨август 2016 г.⁩.

The Node.isSameNode() проверяет ссылаются ли два узла на один и тот же объект.

Синтаксис

var isSameNode = node.isSameNode(other);
  • other узел для проверки.

Спецификации

Specification
DOM
# dom-node-issamenode

Совместимость с браузерами

Смотрите также