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
[acl] Hoisted global variables in with-clause always need read access
var
with ({}) { var v = 1; }
$hook$.global('v', 'var)[_c_[0]]; // unnecessary read access to the variable with property access with (__with__) { __hook__('w=', __with__, ['v', 1, (p) => v = p, v], _c_[0], false); // write access }
$hook$.global('v', 'var'); // equivalent to Object.defineProperty(window, 'v', { value: undefined }) with (__with__) { __hook__('w=', __with__, ['v', 1, (p) => v = p, v], _c_[0], false); // write access }
The text was updated successfully, but these errors were encountered:
[demo][acl] Update normalize.js for verifying Fix #348, Fix #349, Fix #…
2d3b262
…350, and Fix #351
8c167b5
No branches or pull requests
[acl] Hoisted global variables in with-clause always need read access
Root Cause
var
declarationsReproducible Code
Fix
The text was updated successfully, but these errors were encountered: