📅  最后修改于: 2022-03-11 14:54:49.254000             🧑  作者: Mango
代码示例1
function foo(a, b, c, d, e, f) {
console.log(a, b, c, d, e, f);
}
const values = [1, 2, 3, 4, 5];
foo(...values); // 1 2 3 4 5