Demo function fn(x, y, z) { console.log("fn() called with", x, y, z); } let x; x = ["a", "b", "c"]; fn( ...x ); //function call with spread ...
確定! 回上一頁