{"ScriptPreparationCode":"const asd = (type) =\u003E {\r\n switch (type) {\r\n case \u0022123\u0022:\r\n return console.log(\u0022123\u0022);\r\n case \u0022456\u0022:\r\n return console.log(\u0022456\u0022);\r\n }\r\n}\r\n\r\nasd(\u0022123\u0022);","TestCases":[{"Name":"object approach","Code":"const asd = {\r\n\t\u0022123\u0022: () =\u003E console.log(\u0022123\u0022),\r\n \t\u0022456\u0022: () =\u003E console.log(\u0022456\u0022)\r\n};\r\n\r\nasd[\u0022123\u0022]();","IsDeferred":false},{"Name":"object approach -- 2","Code":"const asd = (type) =\u003E {\r\n switch (type) {\r\n case \u0022123\u0022:\r\n return console.log(\u0022123\u0022);\r\n case \u0022456\u0022:\r\n return console.log(\u0022456\u0022);\r\n }\r\n}\r\n\r\nasd(\u0022123\u0022);","IsDeferred":false}]}