Closed ljharb closed 9 years ago
Per https://twitter.com/sindresorhus/status/499462674439495680 and the ES6 spec, Object.assign is supposed to hold on to the first exception thrown, and continue iterating, and after every succeedable assignment is done, throw that first exception.
Object.assign
Closed as a duplicate of https://github.com/ljharb/object.assign/issues/5
Per today's TC39 meeting, Object.assign will no longer require holding on to a pending exception - which makes the shim correct as-is.
Per https://twitter.com/sindresorhus/status/499462674439495680 and the ES6 spec,
Object.assign
is supposed to hold on to the first exception thrown, and continue iterating, and after every succeedable assignment is done, throw that first exception.