Debian Codegraph @

packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-nested-5656/input.js

raw
1 function a(...args) {
2 const foo = (...list) => bar(...list);
3 foo(...args);
4 }
5
6 function b(...args) {
7 const foo = (...args) => bar(...args);
8 foo(...args);
9 }
10
11 function c(...args) {
12 const foo = (...args) => bar(...args);
13 foo([]);
14 }
15
16 function d(thing, ...args) {
17 const foo = (...args) => bar(...args);
18 {
19 let args = thing;
20 foo(thing);
21 }
22 }