📅  最后修改于: 2022-03-11 15:04:04.189000             🧑  作者: Mango
function func1() {
const reverse = func2(...arguments); // "rest operator" passes arguments
return reverse.join("");
}
function func2() {
return Array.from(arguments).reverse();
}
func1("a", "b", "c"); // "cba"