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