* No unneeded empty arrays in transform spread Since Array.prototype.concat creates a new array from inputs, there's no need to call it from a new empty array ([].concat()). * [fixup] simplify detection of new array
2 lines
37 B
JavaScript
2 lines
37 B
JavaScript
babelHelpers.toConsumableArray(foo);
|