Below data is printed in console.log , How can i print header from this array i tried below approach but i got error map is not a function, So this is server side nodejs , How can i get headers object from data ?
server.js
console.log(data);
var result = data.map(function(a) {return a.fieldName;});
    { file:
       [ { fieldName: 'file',
           originalFilename: 'sco_poc.bpmn',
           path: 'yGCNPv.bpmn',
           headers: [Object],
           size: 11078 } ] }