code: function clear (node) {
      const replace = node.cloneNode(false);
      node.parentNode.replaceChild(replace, node);
      return replace;
    }
docs: Clear a node's contents
  @param  {object} node - obj to be emptied