Comment Comment by tracker1 In those cases, I usually use Object.assign(acc, { [prop]:value }) While not sure if `[prop]` is better or worse than not creating a new interstitial object. parent tracker1 9 years ago