The childNodes of Node for JS returns the children.
node.childNodes
baseURI
cloneNode
compareDocumentPosition
contains
firstChild
getRootNode
hasChildNodes
isConnected
isEqualNode
lastChild
nextSibling
nodeName
nodeType
normalize
ownerDocument
parentElement
parentNode
previousSibling
Web Hypertext Application Technology Working Group (WHATWG)