Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作用域问题写的不全 #1

Open
Uestcyuan opened this issue Aug 16, 2018 · 0 comments
Open

作用域问题写的不全 #1

Uestcyuan opened this issue Aug 16, 2018 · 0 comments

Comments

@Uestcyuan
Copy link

如果var a=b=3相当于var a;b=3;
那在函数里打印a,也应当是not defined;
但此处打印结果是3;
所以我理解的代码应该等同于var a=b;b=3

@Uestcyuan Uestcyuan changed the title 3问题写的不全 作用域问题写的不全 Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant