lastChild method
Retrieves a reference to the last child of the current node of the filtered TreeWalker hierarchy and updates currentNode.
![]() ![]() |
Syntax
var oNode = TreeWalker.lastChild();Parameters
- oNode [out, retval]
-
Type: Node
Object that receives the last child node in the filtered TreeWalker hierarchy.
Return value
Type: Node
Object that receives the last child node in the filtered TreeWalker hierarchy.
Standards information
Remarks
lastChild sets the currentNode to the returned node.
See also
Show:

