{"ScriptPreparationCode":null,"TestCases":[{"Name":"Switch","Code":"const input = 10;\r\n\r\n switch(input) {\r\n case 1:\r\n return true;\r\n case 2:\r\n return true;\r\n case 3:\r\n return true;\r\n case 4:\r\n return true;\r\n case 5:\r\n return true;\r\n case 6:\r\n return true;\r\n case 7:\r\n return true;\r\n case 8:\r\n return true;\r\n case 9:\r\n return true;\r\n case 10:\r\n return true;\r\n }","IsDeferred":false},{"Name":"Map","Code":"const input = 10;\r\n\r\nconst LUT = {\r\n\t0: true,\r\n 1: true,\r\n 2: true,\r\n 3: true,\r\n 4: true,\r\n 5: true,\r\n 6: true,\r\n 7: true,\r\n 8: true,\r\n 9: true,\r\n 10: true\r\n}\r\n\r\nLUT[input];","IsDeferred":false},{"Name":"MAP OBJECT","Code":"const input = 10;\r\n\r\nconst LUT = new Map([\r\n [0, true],\r\n [1, true],\r\n [2, true],\r\n [3, true],\r\n [4, true],\r\n [5, true],\r\n [6, true],\r\n [7, true],\r\n [8, true],\r\n [9, true],\r\n [10, true],\r\n])\r\n\r\nLUT.get(input);","IsDeferred":false}]}