JavaScript meneruskan semua argumen ke fungsi lain
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"
DenverCoder1