Debian Codegraph @

packages/babel-plugin-transform-spread/test/fixtures/regression/issue-8907/input.js

raw
1 const arr = [];
2
3 arr.concat = () => {
4 throw new Error('Should not be called');
5 };
6
7 const x = [...arr];