{"ScriptPreparationCode":null,"TestCases":[{"Name":"switch","Code":"const adversario = \u0027Hulk\u0027\r\nlet loki = \u0027Loki\u0027\r\n\r\nswitch(adversario) {\r\n case \u0027Iron-Man\u0027: \r\n loki = \u0027Magneto\u0027\r\n break;\r\n case \u0027Hulk\u0027: \r\n loki = \u0027Thanos\u0027\r\n break;\r\n case \u0027Thor\u0027: \r\n loki = \u0027Odin\u0027\r\n break;\r\n default:\r\n return loki\r\n}\r\n\r\nconsole.log(loki)","IsDeferred":false},{"Name":"not switch","Code":"const adversario = \u0027Hulk\u0027\r\nconst LOKI_DISFRACES = {\r\n \u0027Iron-Man\u0027: \u0027Magneto\u0027,\r\n Thor: \u0027Odin\u0027,\r\n Hulk: \u0027Thanos\u0027,\r\n Lobezno: \u0027Magneto\u0027\r\n}\r\n\r\nconst LOKI_DEFAULT_DISFRAZ = \u0027Loki\u0027\r\n\r\nconst loki = LOKI_DISFRACES[adversario] || LOKI_DEFAULT_DISFRAZ;\r\n\r\nconsole.log(loki)\r\n","IsDeferred":false}]}