previousNode

The TreeWalker.previousNode() method moves the current returns the found node.

MDN Reference