== should maintain if stmt == if(a){if(b){console.log(0);}}else if(d){console.log(1);}else{console.log(2);} [expect] if (a) { if (b) console.log(0); } else if (d) console.log(1); else console.log(2);