作用域问题写的不全
Opened this issue · 0 comments
Uestcyuan commented
如果var a=b=3相当于var a;b=3;
那在函数里打印a,也应当是not defined;
但此处打印结果是3;
所以我理解的代码应该等同于var a=b;b=3
Opened this issue · 0 comments
如果var a=b=3相当于var a;b=3;
那在函数里打印a,也应当是not defined;
但此处打印结果是3;
所以我理解的代码应该等同于var a=b;b=3