code: function transferChildren(fromElement, toElement) {
    // Include comment nodes. Convert to array because the NodeList is "live"
    // and will be updated when an element is removed from it.
    const frag = document.createDocumentFragment();
    const children = Array.from(fromElement.childNodes);
  
    for (let i = 0; i < children.length; i++) {
      if (children[i].nodeName !== 'NOSCRIPT') {
        frag.appendChild(children[i]);
      }
    }
  
    toElement.appendChild(frag);
  }
docs: Move children from one element to another. Ignores <noscript> elements.
  @param {Element} fromElement Element to move children from.
  @param {Element} toElement Element to move children to.
  @private