2018-01-09 15:36:42 +01:00

10 lines
155 B
JavaScript

function foo() {
return bar(Array.prototype.slice.call(arguments));
}
function bar(one, two, three) {
return [one, two, three];
}
foo("foo", "bar");