Debian Codegraph @

packages/babel-plugin-transform-spread/test/fixtures/spread/arguments-array/exec.js

raw
1 // test that toConsumableArray clones the array.
2
3 function foo() {
4 const x = [...arguments];
5
6 expect(x).not.toBe(arguments);
7 }
8
9 foo(1,2);