function diffHTML(original, modified) {
  let origVTree = virtualize(original);
  let modVTree = virtualize(modified);

  let patches = diff(origVTree, modVTree);

  const element = document.createElement("div");
  element.innerHTML = original;
  let newDOM = patch(element.firstChild, patches, { patch: patchRecursive });

  return newDOM;
}
/**
 * Returns a DOM tree that shows the differences in the text content of the
 * passed in original and modified trees.
 * @param {Node} original
 * @param {Node} modified
 */
Returns a DOM tree that shows the differences in the text content of the
passed in original and modified trees.
@param {Node} original
@param {Node} modified
Returns a DOM tree that shows the differences in the text content of the passed in original and modified trees . @param { Node } original @param { Node } modified
function diffHTML(original, modified) {
  let origVTree = virtualize(original);
  let modVTree = virtualize(modified);
  let patches = diff(origVTree, modVTree);
  const element = document.createElement("div");
  element.innerHTML = original;
  let newDOM = patch(element.firstChild, patches, { patch: patchRecursive });
  return newDOM;
}
function diffHTML ( original , modified ) { let origVTree = virtualize ( original ) ; let modVTree = virtualize ( modified ) ; let patches = diff ( origVTree , modVTree ) ; const element = document . createElement ( "div" ) ; element . innerHTML = original ; let newDOM = patch ( element . firstChild , patches , { patch : patchRecursive } ) ; return newDOM ; }
Returns a DOM tree that shows the differences in the text content of the
 passed in original and modified trees.
Returns a DOM tree that shows the differences in the text content of the passed in original and modified trees .