swc/ecmascript/codegen/tests/references/0986e63317738f46.js
강동윤 eb2a2a7f15
Fix tests and lints (#44)
- Temporarilly ignored comment codegen tests.
 - Split Simplify into SimplifyExpr and SimplifyStmt
 - fix lints
2018-11-05 13:12:52 +09:00

50 lines
478 B
JavaScript

var a , b ;
if (a && !(a + "1") && b) {
var // 1
var c ;
// 1
var c;
d();
} else {
// 1
var c;
d();
} else {
e();
}
if (// 1
var c;
d();
} else {
e();
}
if (a || !!(// 1
var c;
d();
} else {
e();
}
if (a || !!(a + "1") || // 1
var c;
d();
} else {
e();
}
if (a || !!(a + "1") || b) {
// 2
d();
} else {
var // 2
d();
} else {
var f ;
// 2
d();
} else {
var f;
e();
}