-
Notifications
You must be signed in to change notification settings - Fork 22.4k
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
Hoisting Type 3 behavior inconclusive #34219
Labels
closed: wontfix
Out of scope, too much effort, or working as intended
Content:Glossary
Glossary entries
Comments
alimalim77
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
Jun 17, 2024
We are trying to be as general as possible and not be solely confined to lexical declarations. Lexical declarations affect the scope by preventing the variable from being used before its declaration, as discussed later. It could well be that other declarations show other kind of "scope tainting". |
Josh-Cena
added
closed: wontfix
Out of scope, too much effort, or working as intended
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
Jun 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed: wontfix
Out of scope, too much effort, or working as intended
Content:Glossary
Glossary entries
MDN URL
https://developer.mozilla.org/en-US/docs/Glossary/Hoisting
What specific section or headline is this issue about?
Issue related to Types of Hoisting Behavior
What information was incorrect, unhelpful, or incomplete?
On completion of overview of Hoisting, there are four types of behavior in hoisting, the third behavior is explained as: The declaration of the variable causes behavior changes in its scope before the line in which it is declared.
What did you expect to see?
It makes it confusing to understand what declaration is being discussed, the initial and previous one and also there is no mention of temporal dead zone which seems okay if it is discussed later.
Do you have any supporting links, references, or citations?
It should be self-explanatory on what part of code is talked here especially talking about TDZ would be more appropriate here in case of let, const and class instead of introducing them later.
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: