swc/ecmascript/codegen/tests/references/2ab9ca1f6a30c203.js
강동윤 1b28766c26
Improve comment api (#277)
swc_ecma_parser:
 - parser now take comments by reference
2019-02-26 13:56:58 +09:00

25 lines
236 B
JavaScript

// 1.
if (a) {
{
{
{
}
}
}
if (b) {
c();
}
{
{
}
}
} else {
d();
}
// 2.
if (a) {
for(var e = 1; e < 2; ++e)if (b) c();
} else {
d();
}