12 lines
198 B
JavaScript
12 lines
198 B
JavaScript
function foo() {
|
|
return bar.apply(null, ["test"].concat(Array.prototype.slice.call(arguments)));
|
|
}
|
|
function bar(one, two, three) {
|
|
return [
|
|
one,
|
|
two,
|
|
three
|
|
];
|
|
}
|
|
foo("foo", "bar");
|