JSFiddle - React, Tailwind, and code Playground
JavaScript
frag = document.createDocumentFragment();
frag.appendChild(document.createTextNode('Always two there are'));
alert($(frag).text())
frag = document.createDocumentFragment();
frag.appendChild(document.createTextNode('Always two there are'));
alert($(frag).text())