{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object","Code":"const obj = {\r\n\tone: \u0027One\u0027,\r\n \ttwo: \u0027Two\u0027,\r\n \tthree: \u0027Three\u0027,\r\n};\r\n\r\nconst result = obj.three;\r\nconsole.log(result);","IsDeferred":false},{"Name":"Switch..case","Code":"const input = \u0027three\u0027;\r\nlet result;\r\n\r\nswitch (input) {\r\n case \u0027one\u0027: {\r\n result = \u0027One\u0027;\r\n }\r\n case \u0027two\u0027: {\r\n result = \u0027Two\u0027;\r\n }\r\n case \u0027three\u0027: {\r\n result = \u0027Three\u0027;\r\n }\r\n}\r\n\r\nconsole.log(result);","IsDeferred":false},{"Name":"Map","Code":"const values = new Map([\r\n [\u0022one\u0022, \u0027One\u0027],\r\n [\u0022two\u0022, \u0027Two\u0027],\r\n [\u0022three\u0022, \u0027Three\u0027]\r\n]);\r\n\r\nconst result = values.get(\u0027three\u0027);\r\n\r\nconsole.log(result);","IsDeferred":false}]}