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
It'd be nice if a reference to a block-scope variable let you know if that reference is in the temporal dead zone or not.
The text was updated successfully, but these errors were encountered:
@michaelficarra define temporal dead zone.
temporal dead zone
Sorry, something went wrong.
A reference to a block-scoped variable that would be evaluated before its declaration is in the temporal dead zone.
This is not a static property, so I don't think it's suitable for static analysis:
let f = () => x; f(); // TDZ violation let x; f(); // not a TDZ violation
Well the static property is "definitely", "possibly", or "definitely not". It relies on control flow analysis, which is some effort on its own.
bakkot
No branches or pull requests
It'd be nice if a reference to a block-scope variable let you know if that reference is in the temporal dead zone or not.
The text was updated successfully, but these errors were encountered: