function test(a=1,b){
console.log(a)
console.log(b)
}
test(undefined,2)
运行结果
前端学习笔记202310学习笔记第一百壹拾天-函数参数默认值&递归&预编译流程&原理&现象&按时全局变量之2
阅读 44
2023-11-05
function test(a=1,b){
console.log(a)
console.log(b)
}
test(undefined,2)
运行结果
相关推荐
精彩评论(0)