摘要详情

59 / 2019-04-03 14:36:49
Millimeter Wave Channel Estimation from Quadratic Measurements
Pipe-Jacking Shallow-buried
资源开发与利用 > 专题 3.3
摘要待审
A function's last parameter can be prefixed with ... which will cause all remaining (user supplied) arguments to be placed within a "standard" javascript array. Only the last parameter can be a "rest parameter".

function myFun(a, b, ...manyMoreArgs) {
console.log("a", a);
console.log("b", b);
console.log("manyMoreArgs", manyMoreArgs);
}

myFun("one", "two", "three", "four", "five", "six");

// Console Output:
// a, one
// b, two
// manyMoreArgs, [three, four, five, six]
登录 创建账号 注册参会 提交稿件