冠修复与根管同步治疗隐裂牙牙髓病的疗效
编号:80
稿件编号:59 访问权限:公开
更新:2021-06-17 16:37:25 浏览:739次
口头报告
摘要
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]
关键字
Pipe-Jacking Shallow-buried
发表评论