前端学习笔记202310学习笔记第一百壹拾天-函数参数默认值&递归&预编译流程&原理&现象&按时全局变量之25
function test(){
var a=b=1;
console.log(b)
}
test()
//GO={
// b:1
//}
//AO{
// a:undefined--->1
//}
运行结果
function test(){
var a=b=1;
console.log(b)
}
test()
//GO={
// b:1
//}
//AO{
// a:undefined--->1
//}
运行结果