mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Correctly transform spreads of arrays with holes * Use `arrayWithoutHoles` helper * Add exec test * Update for Babel 8 Co-authored-by: phapp88 <[email protected]>
3 lines
118 B
JavaScript
3 lines
118 B
JavaScript
var a = babelHelpers.arrayLikeToArray(['a',, 'b']);
|
|
var b = ['a'].concat(babelHelpers.arrayLikeToArray(['b',, 'c']));
|