We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Say we have the following code:
{ function aa() { } var zz; } function bb() { }
which produces the following scope tree:
0: GlobalScope 1: BlockScope 2: FunctionScope 3: FunctionScope
However, if we take a look at the variables array from the global scope object:
we can see that only two variables belong to the global scope, zz and bb. Should aa not also belong to the global scope as it gets hoisted?
zz
bb
aa
The text was updated successfully, but these errors were encountered:
Potentially related:
Sorry, something went wrong.
renameTo
No branches or pull requests
Say we have the following code:
which produces the following scope tree:
However, if we take a look at the variables array from the global scope object:
we can see that only two variables belong to the global scope,
zz
andbb
. Shouldaa
not also belong to the global scope as it gets hoisted?The text was updated successfully, but these errors were encountered: