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
Any variables initialized inside a for loop inside an inline if statement will be duplicated when unminifying.
for example:
if (1) for (a=1,b=2,c=3;a<10;a++){}
will turn into:
if (1) { a = 1; b = 2; c = 3; a = 1; b = 2; c = 3; for (; a < 10; a++) {} }
The text was updated successfully, but these errors were encountered:
fix: duplicated node when extracting sequence from for loop (#54)
2d889c6
Nice catch 👍🏻 Fixed in 2d889c6 (playground is already updated, npm release will follow soon)
Sorry, something went wrong.
No branches or pull requests
Any variables initialized inside a for loop inside an inline if statement will be duplicated when unminifying.
for example:
will turn into:
The text was updated successfully, but these errors were encountered: