{"ScriptPreparationCode":"var obj = {a: {b: {c: {d: 1}}}}\r\nvar badObj = {}","TestCases":[{"Name":"TS Optional Chaining result in javascript","Code":"((_c = (_b = (_a = obj === null || obj === void 0 ? void 0 : obj.a) === null || _a === void 0 ? void 0 : _a.b) === null || _b === void 0 ? void 0 : _b.c) === null || _c === void 0 ? void 0 : _c.d) || 2;\r\n((_f = (_e = (_d = badObj === null || badObj === void 0 ? void 0 : badObj.a) === null || _d === void 0 ? void 0 : _d.b) === null || _e === void 0 ? void 0 : _e.c) === null || _f === void 0 ? void 0 : _f.d) || 2;","IsDeferred":false},{"Name":"Lodash Get","Code":"_.get(obj, \u0022a.b.c.d\u0022, 2)\r\n_.get(badObj, \u0022a.b.c.d\u0022, 2)","IsDeferred":false},{"Name":"ES6 Optional Chaining","Code":"obj?.a?.b?.c?.d || 2\r\nbadObj?.a?.b?.c?.d || 2","IsDeferred":false}]}