lib/api/attributes.js
function(elem, name) {
  if (!elem.attribs || !hasOwn.call(elem.attribs, name))
    return;

  delete elem.attribs[name];
}
function(elem, name) {
  if (!elem.attribs || !hasOwn.call(elem.attribs, name))
    return;

  delete elem.attribs[name];
}
function ( elem , name ) { if ( ! elem . attribs || ! hasOwn . call ( elem . attribs , name ) ) return ; delete elem . attribs [ name ] ; }
Remove an attribute
Remove an attribute