mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
7c58b89571
testing: - preserve context of the span in `::testing::DropSpan` swc_ecma_codegen: - disable get_text_of_node to avoid deoptimization swc_ecma_transforms: - allow using this inside arrow expression - implement es2015::block_scoping with hygiene ident
14 lines
147 B
JavaScript
14 lines
147 B
JavaScript
var a, b;
|
|
if (a && !(a + '1') && b) {
|
|
var c;
|
|
d();
|
|
} else {
|
|
e();
|
|
}
|
|
if (a || !!(a + '1') || b) {
|
|
d();
|
|
} else {
|
|
var f;
|
|
e();
|
|
}
|