This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-18 19:21:33 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
205b76e78d
swc
/
crates
/
swc_ecma_codegen
/
tests
/
test262-min
/
639b9076cc56e57c.js
2 lines
31 B
JavaScript
Raw
Normal View
History
Unescape
Escape
fix(es/minifier): Improve output of minifier (#1990) swc_common: - Add `Span.has_mark`. swc_ecma_codegen: - Emit `1e3` for `1000`. - Optimize output. (#1986) swc_ecma_minifier: - name mangler: Don't use keywords as an id. - `properties`: Optimize member expression with string properties. - `inline`: Inline some function expressions even if it's not fn-local. - `analyzer`: Track reassignment correctly. - `analyzer`: Track fn-local correctly. - `sequences`: Inject `void` if required. - `inline`: Inline function declarations correctly. - `sequences`: Merge expressions into test of if statements. - `sequences`: Reduce calls to an assigned variable. - Use `Marks` instead of `&dyn Comments`. swc_ecma_transforms_optimization: - `expr_simplifier`: Fix infinite loops. node/swc: - Ensure that `.transform` performs minification. (#1989)
2021-08-03 18:52:47 +03:00
while
(
true
)
{
if
(
a
)
break
;
else
b
}
Reference in New Issue
Copy Permalink