{"ScriptPreparationCode":null,"TestCases":[{"Name":"switch","Code":"const getAnimals = (n) =\u003E {\r\n switch (n) {\r\n case \u0027Lion\u0027:\r\n return \u0027Rei Le\u00E3o Ahhhhhh\u0027;\r\n case \u0027Chicken\u0027:\r\n return \u0027A galinha pintadinha\u0027;\r\n }\r\n return \u0027404\u0027;\r\n}\r\ngetAnimals(\u0027Lion\u0027)","IsDeferred":false},{"Name":"Arrow functions JSON","Code":"const getAnimals = (n) =\u003E ({\r\n \u0027Lion\u0027:\u0027Rei Le\u00E3o Ahhhhhh\u0027,\r\n \u0027Chicken\u0027:\u0027A galinha pintadinha\u0027\r\n}[n] || \u0027404\u0027)\r\ngetAnimals(\u0027Lion\u0027)","IsDeferred":false}]}