This page was translated from English by the community. Learn more and join the MDN Web Docs community.
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> |
Совместимость с браузерами
Enable JavaScript to view this browser compatibility table.