docs: function swap(nodeA, nodeB){
      if (nodeA === nodeB || comparePosition(nodeA, nodeB) & (POSITION_CONTAINED_BY | POSITION_CONTAINS | POSITION_DISCONNECTED))
        return false;
  
      replace(nodeA, testElement);
      replace(nodeB, nodeA);
      replace(testElement, nodeB);
  
      return true;
    }