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