set:has-same-node()
set:has-same-node() determines whether two node-sets have any nodes in common.
Syntax
set:has-same-node(nodeSet1, nodeSet2)
Parameters
Return value
true if the two node-sets have any nodes in common; otherwise false.
set:has-same-node() determines whether two node-sets have any nodes in common.
set:has-same-node(nodeSet1, nodeSet2)
true if the two node-sets have any nodes in common; otherwise false.
This page was last modified on by MDN contributors.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.