冠修复与根管同步治疗隐裂牙牙髓病的疗效
ID:80
Submission ID:59 View Protection:PUBLIC
Updated Time:2021-06-17 16:37:25 Hits:822
Oral Presentation
Abstract
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]
Keywords
Pipe-Jacking Shallow-buried
Comment submit