{"ScriptPreparationCode":"var person = {data: {name: \u0027Frederick\u0027, lastName: \u0027Corcino Alejo\u0027}};","TestCases":[{"Name":"Lodash get","Code":"_.get(person, \u0027data.name\u0027);","IsDeferred":false},{"Name":"Native","Code":"const get = (obj, path, defaultValue) =\u003E {\r\n const result = String.prototype.split.call(path, /[,[\\].]\u002B?/)\r\n .filter(Boolean)\r\n .reduce((res, key) =\u003E (res !== null \u0026\u0026 res !== undefined) ? res[key] : res, obj);\r\n return (result === undefined || result === obj) ? defaultValue : result;\r\n}\r\nget(person, \u0027data.name\u0027)","IsDeferred":false}]}