{"ScriptPreparationCode":"function compileFn(source) {\r\n // eslint-disable-next-line no-eval\r\n return eval(\u0060(function() {return ${source}})()\u0060);\r\n}\r\n\r\nfunction compiledPathGetter(path) {\r\n return compileFn(/* typescript */ \u0060function _getter (obj) {\r\n return obj.${path};\r\n }\u0060);\r\n}\r\n\r\nfunction ramdaGetter(path) {\r\n const getter = R.view(R.lensPath(path.split(\u0027.\u0027)));\r\n \r\n return getter;\r\n}\r\n\r\nwindow.theme = { colors: { red: \u0027red\u0027 } };\r\n\r\nwindow.getNestedColor = compiledPathGetter(\u0027colors.red\u0027);\r\nwindow.getNestedColorRamda = ramdaGetter(\u0027colors.red\u0027);","TestCases":[{"Name":"Precompiled","Code":"getNestedColor(theme);","IsDeferred":false},{"Name":"Ramda","Code":"getNestedColorRamda(theme);","IsDeferred":false}]}