经典的const a = doSth()if(a) { const b = doOtherThing(a) if (b) { ... return xxx }}return y…