normalize
Description
The normalize of Node for JS removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Syntax
node.normalize()
The normalize of Node for JS removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
node.normalize()