{"ScriptPreparationCode":"var person = {data: {type: \u0027Frederick\u0027}};","TestCases":[{"Name":"Lodash get string","Code":"_.get(person, \u0027data.type\u0027);","IsDeferred":false},{"Name":"Lodash get array","Code":"const type = _.get(person, [\u0027data\u0027, \u0027type\u0027]);","IsDeferred":false},{"Name":"Native","Code":"const type = person.data.type","IsDeferred":false},{"Name":"Native with checking for missing object","Code":"const data = person.data\r\nif(data !== null){\r\n const type = data.type\r\n}","IsDeferred":false},{"Name":"?.","Code":"const type = person.data?.type","IsDeferred":false}]}