src/icon.js
function attrsToString(attrs) {
  return Object.keys(attrs)
    .map(key => `${key}="${attrs[key]}"`)
    .join(' ');
}
function attrsToString(attrs) {
  return Object.keys(attrs)
    .map(key => `${key}="${attrs[key]}"`)
    .join(' ');
}
function attrsToString ( attrs ) { return Object . keys ( attrs ) . map ( key => ` ${ key } ${ attrs [ key ] } ` ) . join ( ' ' ) ; }
Convert attributes object to string of HTML attributes.
@param {Object} attrs
@returns {string}
Convert attributes object to string of HTML attributes .