The DocumentFragment.lastElementChild read-only property returns the document fragment's last child Element, or null if there are no child elements.
DocumentFragment.lastElementChild
null
external Element? get lastElementChild;