☰
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-parameters
/
test
/
fixtures
/
parameters
/
rest-argument-with-other-arguments
/
exec.js
☽
☼
packages/babel-plugin-transform-parameters/test/fixtures/parameters/rest-argument-with-other-arguments/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
function func(a, b, ...arguments) {
2
return [a, b, arguments];
3
}
4
5
expect(func('a', 'b', 1, 2, 3)).toStrictEqual(['a', 'b', [1, 2, 3]])