swc/crates/swc_ecma_minifier/tests/pass-1/issue-6405/1/output.js

8 lines
135 B
JavaScript

export const fn = ()=>{
let val;
if (!!val) {
if (val.a?.b !== !0) throw Error('second');
return val;
}
};