The NodeIterator.root read-only property represents the Node that is the root of what the NodeIterator traverses.
NodeIterator.root
MDN Reference