{"ScriptPreparationCode":"let translation = {\r\n KEY: \u0027value\u0027\r\n};\r\n\r\nfunction getTranslation(k) {\r\n return translation[k];\r\n}\r\n\r\nfunction getProxiedTranslation(k) {\r\n const proxyHandler = {\r\n get: function(target, prop) {\r\n if (!target[prop]) {\r\n return \u0027missing\u0027\r\n }\r\n return target[prop];\r\n }\r\n};\r\n return new Proxy(translation, proxyHandler)\r\n}","TestCases":[{"Name":"Get existing translation","Code":"getTranslation(\u0027KEY\u0027)","IsDeferred":false},{"Name":"get Proxied translation: existing","Code":"getProxiedTranslation(\u0027KEY\u0027)","IsDeferred":false},{"Name":"get Proxied translation: non existent","Code":"getProxiedTranslation(\u0027NOERROR\u0027)","IsDeferred":false}]}