Comment Comment by mhluongo Spread syntax should cover linter issues Object.entries(obj).map(...).reduce((acc, [prop, value]) => ({...acc, prop:value})) parent mhluongo 9 years ago