{"ScriptPreparationCode":"var obj = {a: {b: {c: {d: 1}}}}\r\nvar badObj = {}","TestCases":[{"Name":"Optional Chaining","Code":"(obj.a == null ? undefined : obj.a.b == null ? undefined : obj.a.b.c == null ? undefined : obj.a.b.c.d) || 2\r\n(badObj.a == null ? undefined : badObj.a.b == null ? undefined : badObj.a.b.c == null ? undefined : badObj.a.b.c.d) || 2","IsDeferred":false},{"Name":"Lodash","Code":"_.get(obj, \u0022a.b.c.d\u0022, 2)\r\n_.get(badObj, \u0022a.b.c.d\u0022, 2)","IsDeferred":false},{"Name":"Lodash array","Code":"_.get(obj, [\u0022a\u0022, \u0022b\u0022, \u0022c\u0022, \u0022d\u0022], 2)\r\n_.get(badObj, [\u0022a\u0022, \u0022b\u0022, \u0022c\u0022, \u0022d\u0022], 2)","IsDeferred":false}]}