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
The following works, but I'm not sure if there are tests for it:
Input:
const x = 1; function f() { return x; } function f2() { return x + f.y; } f.y = 100; export default f2;
Output:
const scopeIndex = ((x, f$0) => [ f$0 = function f() { return x; }, function f2() { return x + f$0.y; } ])(1); Object.assign(scopeIndex[0], {y: 100}); export default scopeIndex[1];
If there are not tests already, add some. It would be easy for #426 to break this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following works, but I'm not sure if there are tests for it:
Input:
Output:
If there are not tests already, add some. It would be easy for #426 to break this.
The text was updated successfully, but these errors were encountered: