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

执行上下文编译阶段通过let声明的变量的值初始化为unitilizated吧 #42

Open
Kesonlin opened this issue Jun 13, 2022 · 1 comment

Comments

@Kesonlin
Copy link

No description provided.

@crayoncloud
Copy link

并不是,Let存在的块状作用域有一个“暂时性死区”的性质,其变量提前特性,只是把创建提前,而不会把初始化提前。

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

2 participants