The normalizeDocument() method removes empty Text nodes, and joins adjacent Text nodes.
normalizeDocument()
normalizeDocument
document.normalizeDocument()
None.
No return value.