normalize

The normalize JS Node removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

Syntax

node.normalize()

Examples

baseURI

childNodes

cloneNode

compareDocumentPosition

contains

firstChild

getRootNode

hasChildNodes

isConnected

isEqualNode

lastChild

nextSibling

nodeName

nodeType

ownerDocument

parentElement

parentNode

previousSibling

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu