mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* move core transformation cases to plugins * move tests to traverse/regression
6 lines
99 B
JavaScript
6 lines
99 B
JavaScript
function* foo(...items) {
|
|
return items;
|
|
}
|
|
|
|
expect(foo(1, 2, 3).next().value).toEqual([1, 2, 3]);
|