docs/console.js
function headersToString(headers){
  var lines = [];
  for(var name in headers){
    lines.push(name + ': ' + headers[name]);
  }
  return lines.join('\n');
}
function headersToString(headers){
  var lines = [];
  for(var name in headers){
    lines.push(name + ': ' + headers[name]);
  }
  return lines.join('\n');
}
function headersToString ( headers ) { var lines = [ ] ; for ( var name in headers ) { lines . push ( name + ': ' + headers [ name ] ) ; } return lines . join ( '\n' ) ; }
Convert a headers map into a multi-line string

@param {Object} headers
@return {String}
Convert a headers map into a multi - line string