arguments可以打印此函数中传入的所有参数值
function test(name, age) {
console.log(...arguments) //关键字
}
test("yiyi", 24)

arguments可以打印此函数中传入的所有参数值
function test(name, age) {
console.log(...arguments) //关键字
}
test("yiyi", 24)

1443
1万+
1717
1215

被折叠的 条评论
为什么被折叠?