HTML DOM Element lastChild
HTML DOM Element lastChild Property
The lastChild property is used to return the last child node of a node. It is a read-only property and returns a node object.
Syntax:-
Its syntax is:- element.lastChild OR node.lastChild
Return:-
Its return is:- the last child of a node else null