Files
babel/packages/babel-plugin-transform-spread/test/fixtures/spread/new-expression/expected.js

3 lines
207 B
JavaScript

new (Function.prototype.bind.apply(Numbers, [null].concat(babelHelpers.toConsumableArray(nums))))();
new (Function.prototype.bind.apply(Numbers, [null].concat([1], babelHelpers.toConsumableArray(nums))))();