{"ScriptPreparationCode":"var str = \u0027abcdefgh\u0027;\r\nstr = str.charAt(Math.floor(Math.random() * 8));","TestCases":[{"Name":"switch","Code":"switch (str) {\r\n case \u0027a\u0027: console.log(\u0027A\u0027); break;\r\n case \u0027b\u0027: console.log(\u0027B\u0027); break;\r\n case \u0027c\u0027: console.log(\u0027C\u0027); break;\r\n case \u0027e\u0027: console.log(\u0027C\u0027); break;\r\n case \u0027f\u0027: console.log(\u0027C\u0027); break;\r\n case \u0027g\u0027: console.log(\u0027C\u0027); break;\r\n case \u0027h\u0027: console.log(\u0027C\u0027); break;\r\n}\r\n","IsDeferred":false},{"Name":"lookup","Code":"var objLiteral = {\r\n a: function() {\r\n console.log(\u0027A\u0027);\r\n },\r\n b: function() {\r\n console.log(\u0027B\u0027);\r\n },\r\n c: function() {\r\n console.log(\u0027C\u0027);\r\n },\r\n d: function() {\r\n console.log(\u0027C\u0027);\r\n },\r\n e: function() {\r\n console.log(\u0027C\u0027);\r\n },\r\n f: function() {\r\n console.log(\u0027C\u0027);\r\n },\r\n g: function() {\r\n console.log(\u0027C\u0027);\r\n },\r\n h: function() {\r\n console.log(\u0027C\u0027);\r\n }\r\n}\r\n\r\nobjLiteral[str]();","IsDeferred":false}]}