{"ScriptPreparationCode":"var str = \u0027q\u0027;\r\n\r\n\r\nvar 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(\u0027D\u0027);\r\n },\r\n e: function() {\r\n console.log(\u0027E\u0027);\r\n },\r\n f: function() {\r\n console.log(\u0027F\u0027);\r\n },\r\n g: function() {\r\n console.log(\u0027G\u0027);\r\n },\r\n h: function() {\r\n console.log(\u0027H\u0027);\r\n },\r\n i: function() {\r\n console.log(\u0027I\u0027);\r\n },\r\n j: function() {\r\n console.log(\u0027J\u0027);\r\n },\r\n k: function() {\r\n console.log(\u0027K\u0027);\r\n },\r\n l: function() {\r\n console.log(\u0027L\u0027);\r\n },\r\n m: function() {\r\n console.log(\u0027M\u0027);\r\n },\r\n n: function() {\r\n console.log(\u0027N\u0027);\r\n },\r\n o: function() {\r\n console.log(\u0027O\u0027);\r\n },\r\n p: function() {\r\n console.log(\u0027P\u0027);\r\n },\r\n q: function() {\r\n console.log(\u0027Q\u0027);\r\n },\r\n r: function() {\r\n console.log(\u0027R\u0027);\r\n },\r\n s: function() {\r\n console.log(\u0027S\u0027);\r\n },\r\n t: function() {\r\n console.log(\u0027T\u0027);\r\n },\r\n u: function() {\r\n console.log(\u0027U\u0027);\r\n },\r\n v: function() {\r\n console.log(\u0027V\u0027);\r\n },\r\n w: function() {\r\n console.log(\u0027W\u0027);\r\n },\r\n};\r\n\r\nvar switchtest = (str) =\u003E {\r\n 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 \u0027d\u0027: console.log(\u0027D\u0027); break;;\r\n case \u0027e\u0027: console.log(\u0027E\u0027); break;;\r\n case \u0027f\u0027: console.log(\u0027F\u0027); break;;\r\n case \u0027g\u0027: console.log(\u0027G\u0027); break;;\r\n case \u0027h\u0027: console.log(\u0027H\u0027); break;;\r\n case \u0027i\u0027: console.log(\u0027I\u0027); break;;\r\n case \u0027j\u0027: console.log(\u0027J\u0027); break;;\r\n case \u0027k\u0027: console.log(\u0027K\u0027); break;;\r\n case \u0027l\u0027: console.log(\u0027L\u0027); break;;\r\n case \u0027m\u0027: console.log(\u0027M\u0027); break;;\r\n case \u0027n\u0027: console.log(\u0027N\u0027); break;;\r\n case \u0027o\u0027: console.log(\u0027O\u0027); break;;\r\n case \u0027p\u0027: console.log(\u0027P\u0027); break;;\r\n case \u0027q\u0027: console.log(\u0027Q\u0027); break;;\r\n case \u0027r\u0027: console.log(\u0027R\u0027); break;;\r\n case \u0027s\u0027: console.log(\u0027S\u0027); break;;\r\n case \u0027t\u0027: console.log(\u0027T\u0027); break;;\r\n case \u0027u\u0027: console.log(\u0027U\u0027); break;;\r\n case \u0027v\u0027: console.log(\u0027V\u0027); break;;\r\n case \u0027w\u0027: console.log(\u0027W\u0027); break;\r\n}\r\n}\r\n","TestCases":[{"Name":"Switch","Code":"switchtest(str);","IsDeferred":false},{"Name":"Object Literal","Code":"objLiteral[str]();","IsDeferred":false}]}