function buildStyleAttribute(styleMap) {
  var styleAttribute = [];
  for (var property in styleMap) {
    styleAttribute.push(property + ': ' + styleMap[property] + ';');
  }
  return styleAttribute.join(' ');
}
/**
 * Build a style attribute from a map of property names to property values.
 *
 * @param {Object<string, string} styleMap The keys are style attribute property
 *     names. The values are the corresponding property values.
 * @return {string} The correct style attribute.
 */
Build a style attribute from a map of property names to property values.
@param {Object<string, string} styleMap The keys are style attribute property
names. The values are the corresponding property values.
@return {string} The correct style attribute.
Build a style attribute from a map of property names to property values . @param { Object<string string } styleMap The keys are style attribute property names . The values are the corresponding property values . @return { string } The correct style attribute .
function buildStyleAttribute(styleMap) {
  var styleAttribute = [];
  for (var property in styleMap) {
    styleAttribute.push(property + ': ' + styleMap[property] + ';');
  }
  return styleAttribute.join(' ');
}
function buildStyleAttribute ( styleMap ) { var styleAttribute = [ ] ; for ( var property in styleMap ) { styleAttribute . push ( property + ': ' + styleMap [ property ] + ';' ) ; } return styleAttribute . join ( ' ' ) ; }
Build a style attribute from a map of property names to property values.
Build a style attribute from a map of property names to property values .