{"ScriptPreparationCode":"var person = {\r\n name: {\r\n something: {\r\n else: \u0027Frederick\u0027\r\n }\r\n },\r\n lastName: \u0027Corcino Alejo\u0027\r\n};","TestCases":[{"Name":"Lodash get","Code":"_.get(person, \u0027name.something.else\u0027);","IsDeferred":false},{"Name":"Native","Code":"function hasPropertyPath(obj, path) {\r\n const parts = path.split(\u0027.\u0027);\r\n let current = obj;\r\n for (const part of parts) {\r\n if (current \u0026\u0026 typeof current === \u0027object\u0027 \u0026\u0026 part in current) {\r\n current = current[part];\r\n } else {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\n\r\nhasPropertyPath(person, \u0022name.something.else\u0022)","IsDeferred":false}]}