getChildren
Get the children of element or root if no element is passed.
Note: The result is not mutated by the API consumer; readonly arrays may be cast to T[].
Parameters
element
The element from which the provider gets children. Can be undefined.