let fragment = new DocumentFragment();
fragment.children; // HTMLCollection []
let paragraph = document.createElement("p");
fragment.appendChild(paragraph);
fragment.children; // HTMLCollection [<p>]DocumentFragment: children property / notebook
DocumentFragment: children property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.