Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
tableData.push(schema.columns.reduce((h, c) => {
return Object.assign(h, { [c.id]: converters[c.id] ? JSONPath({ json: d, path: converters[c.id].path })[0] : d[c.id] });
}, {}));
}