HTML DOM lastElementChild Property
HTML DOM lastElementChild Property
The lastElementChild property is used to return the last child element of the specified element and is read-only property.
Syntax:-
Its syntax is:- element.lastElementChild
Return:-
Its return is:- last-child element of an element else null