-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
feat(minifier): merge single var declarations without init into for-in #8812
feat(minifier): merge single var declarations without init into for-in #8812
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
de38ca3
to
486f86e
Compare
cde10ba
to
633fe4d
Compare
CodSpeed Performance ReportMerging #8812 will not alter performanceComparing Summary
|
Merge activity
|
#8812) Compress `var a; for (a in b) c` into `for (var a in b) c`. This is possible because `var a` can be put in any place within the same scope. This is only possible with `var`.
486f86e
to
d9f1d0d
Compare
633fe4d
to
99b47ed
Compare
Compress
var a; for (a in b) c
intofor (var a in b) c
. This is possible becausevar a
can be put in any place within the same scope. This is only possible withvar
.