index.js
function toObject(row, header) {
  var obj = {}
  row.forEach(function(value, key) {
    obj[header[key]] = value
  })
  return obj
}
function toObject(row, header) {
  var obj = {}
  row.forEach(function(value, key) {
    obj[header[key]] = value
  })
  return obj
}
function toObject ( row , header ) { var obj = { } row . forEach ( function ( value , key ) { obj [ header [ key ] ] = value } ) return obj }
Construct an object by using the items in `row`
as values and the items in `header` as keys.

@param  {Array} row
@param  {Array} header
@return {Object}

@api private
Construct an object by using the items in row as values and the items in header as keys .