swapElements
import { swapElements } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";
swap 2 HTML Element positions
@example
// returns "[elementId.outerHTML,$.outerHTML]=[($=ev.target).outerHTML,elementId.outerHTML]"
swapElements("elementId", "ev.target")
function swapElements(
element1: string,
element2: string,
tmpVarName?: string,
): string;