Bogdan Savluk 66cbd6091e
babel-plugin-transform-spread add missing argument in build calls (#13459)
* babel-plugin-transform-spread add missing argument in build calls

* update tests for babel 8 test
2021-06-14 11:33:19 -04:00

4 lines
228 B
JavaScript

babelHelpers.construct(Numbers, babelHelpers.toConsumableArray(nums));
babelHelpers.construct(Numbers, [1].concat(babelHelpers.toConsumableArray(nums)));
babelHelpers.construct(Numbers, babelHelpers.arrayWithoutHoles([1,, 3]));