function copyNodeAttribute(attributeName, nodeSource, nodeDestination) {
  const attributeValue = nodeSource.getAttribute(attributeName);
  if (attributeValue) {
    nodeDestination.setAttribute(attributeName, attributeValue);
  }
}
/**
 * Copies an attribute from a node to another.
 * @param  {String} attributeName - The name of the attribute to clone.
 * @param  {Object} nodeSource - The source node to copy the attribute from.
 * @param  {Object} nodeDestination - The destination node to copy the attribute at.
 */
Copies an attribute from a node to another.
@param  {String} attributeName - The name of the attribute to clone.
@param  {Object} nodeSource - The source node to copy the attribute from.
@param  {Object} nodeDestination - The destination node to copy the attribute at.
Copies an attribute from a node to another . @param { String } attributeName - The name of the attribute to clone . @param { Object } nodeSource - The source node to copy the attribute from . @param { Object } nodeDestination - The destination node to copy the attribute at .
function copyNodeAttribute(attributeName, nodeSource, nodeDestination) {
  const attributeValue = nodeSource.getAttribute(attributeName);
  if (attributeValue) {
    nodeDestination.setAttribute(attributeName, attributeValue);
  }
}
function copyNodeAttribute ( attributeName , nodeSource , nodeDestination ) { const attributeValue = nodeSource . getAttribute ( attributeName ) ; if ( attributeValue ) { nodeDestination . setAttribute ( attributeName , attributeValue ) ; } }
Copies an attribute from a node to another.
Copies an attribute from a node to another .