Closed
Description
module.exports = () => {
var {a, ...rest} = {a: 1, b: 2, c: 3};
return a === 1 && rest.a === undefined && rest.b === 2 && rest.c === 3;
};
v20181008 injects Object.assign
polyfill expectdly: output
v20181028 doesn't: output
In result, the compiled code throws TypeError: Object function Object() { [native code] } has no method 'assign'
.