lastChild

The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child.

MDN Reference