Returns an array of child nodes on the given element node.
Syntaxchildren = elementNode.childNodes
children is a nodeList of children of the document.
The document object itself has only a single child, and that is the HTML element. Note again that the items in the array are objects and not strings. To get data from those objects you must use their properties (e.g. childNode.nodeName to get the name, etc.)