2014-10-11 22:33:08 +11:00

10 lines
138 B
JavaScript

function foo() {
return bar("test", ...arguments);
}
function bar(one, two, three) {
return [one, two, three];
}
foo("foo", "bar");