Use construct helper in New Spread (#7677)
* Use construct helper in New Spread * CircleCI
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
new (Function.prototype.bind.apply(Numbers, [null].concat(babelHelpers.toConsumableArray(nums))))();
|
||||
new (Function.prototype.bind.apply(Numbers, [null].concat([1], babelHelpers.toConsumableArray(nums))))();
|
||||
babelHelpers.construct(Numbers, babelHelpers.toConsumableArray(nums));
|
||||
babelHelpers.construct(Numbers, [1].concat(babelHelpers.toConsumableArray(nums)));
|
||||
|
||||
Reference in New Issue
Block a user