The wholeText of Text for JS returns the combined data of all direct Text node siblings.
text.wholeText
splitText
Text
Web Hypertext Application Technology Working Group (WHATWG)