root

The TreeWalker.root read-only property returns the root Node that the TreeWalker traverses.

MDN Reference