☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-spread
/
test
/
fixtures
/
spread
/
single
/
exec.js
☽
☼
packages/babel-plugin-transform-spread/test/fixtures/spread/single/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
// test that toConsumableArray clones the array.
2
const arr = [];
3
const foo = () => arr;
4
5
const x = [...foo()];
6
7
expect(x).not.toBe(arr);