选择篇(008)-下面代码的输出是什么?
文章目录
function getAge(...args) {
console.log(typeof args);
}
getAge(21);A: "number"
B: "array"
C: "object"
D: "NaN"function getAge(...args) {
console.log(typeof args);
}
getAge(21);A: "number"
B: "array"
C: "object"
D: "NaN"
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论