You can use ES6 spread to turn that array into a list of arguments. ... function sandwich(a, b, c) { console.log(a); // ' ' console.log(b); ...
確定! 回上一頁