[ { a: 1 }, { a: 2 }, { a: 3 } ].map(e => { Object.defineProperty(e, 'b', { get() { return this.a * 2; } }); return e; });