{"ScriptPreparationCode":"var str = \u0027123\u0027;\r\nstr = str.charAt(Math.floor(Math.random() * 3));","TestCases":[{"Name":"Switch","Code":"switch (\u002Bstr) {\r\n case 1: console.log(\u0027A\u0027); break;\r\n case 2: console.log(\u0027B\u0027); break;\r\n case 3: console.log(\u0027C\u0027); break;\r\n}","IsDeferred":false},{"Name":"Object Literal","Code":"var objLiteral = {\r\n 1: function() {\r\n console.log(\u0027A\u0027);\r\n },\r\n 2: function() {\r\n console.log(\u0027B\u0027);\r\n },\r\n 3: function() {\r\n console.log(\u0027C\u0027);\r\n }\r\n}\r\n\r\nobjLiteral[\u002Bstr]();","IsDeferred":false}]}