☰
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
/
regression
/
issue-8907
/
exec.js
☽
☼
packages/babel-plugin-transform-spread/test/fixtures/regression/issue-8907/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
const arr = [];
2
3
arr.concat = () => {
4
throw new Error('Should not be called');
5
};
6
let x;
7
expect(() => {
8
x = [...arr];
9
}).not.toThrow();
10
11
expect(x).not.toBe(arr);