{"ScriptPreparationCode":"var str = \u0027abc\u0027;\r\nstr = str.charAt(Math.floor(Math.random() * 3));\r\nfunction fn1() {return \u0027one\u0027};\r\nfunction fn2() {return \u0027two\u0027};\r\nfunction fn3() {return \u0027three\u0027};","TestCases":[{"Name":"Switch","Code":"function switchFn(s) {\r\n switch (s) {\r\n case \u0027a\u0027: return fn1();\r\n case \u0027b\u0027: return fn2();\r\n case \u0027c\u0027: return fn3();\r\n }\r\n}\r\nswitchFn(str);","IsDeferred":false},{"Name":"Object Literal","Code":"var objLiteral = {\r\n a: fn1,\r\n b: fn2,\r\n c: fn3\r\n}\r\n\r\nobjLiteral[str]();","IsDeferred":false}]}