javascript-tutorial/zh.javascript.info

直到结束 let(“死区”)翻译不当 https://zh.javascript.info/task/let-scope

dokcn opened this issue · 3 comments

dokcn commented

建议翻译为:引擎从函数开始就知道局部变量 x, 但是变量 x 一直处于“未初始化”(无法使用)的状态,直到遇到let,此时“死区”结束
5

dokcn commented

另外本题中提到的let换成const应该是同样适用的,是否需要添加说明?

另外本题中提到的let换成const应该是同样适用的,是否需要添加说明?

题目只涉及 let 就先只管 let 吧

Thanks, fixed in fbf4182