Value returned by the NodeFilter.
Value returned by the NodeFilter.acceptNode() method when a node should be accepted.
MDN
Value to be returned by the NodeFilter.
Value to be returned by the NodeFilter.acceptNode() method when a node should be rejected. The children of rejected nodes are not visited by the NodeIterator or TreeWalker object; this value is treated as "skip this node and all its children".
MDN
Value to be returned by NodeFilter.
Value to be returned by NodeFilter.acceptNode() for nodes to be skipped by the NodeIterator or TreeWalker object. The children of skipped nodes are still considered. This is treated as "skip this node but not its children".
MDN