Nie*_*sol 6

提升后,您的代码如下所示:

var i;
j = 0;
i = j;
Run Code Online (Sandbox Code Playgroud)

因此i是局部变量,但j不是.