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

15 lines
244 B
JavaScript

// Do not generate like this
// if(cond)with(cond2)if(cond3)debugger;else ok();
//
//
// See https://github.com/Constellation/escodegen/issues/49
if (a) {
with (b){
if (c) {
debugger;
}
}
} else {
d();
}