var _temp; if (((_temp = a) != null ? _temp.b : void 0) != void 0) { a.b = 42; } if (((_temp = a.b.c) != null ? _temp.d : void 0) != void 0) { a.b.c.d = 42; }