{"ScriptPreparationCode":"function getRandomInt(max) {\r\n return Math.floor(Math.random() * Math.floor(max));\r\n}","TestCases":[{"Name":"Switch","Code":"let x= \u0022\u0022;\r\nconst i = getRandomInt(6);\r\nswitch(i) {\r\n case 0: x= \u0022Zero\u0022; break;\r\n case 1: x= \u0022One\u0022; break;\r\n case 2: x= \u0022Two\u0022; break;\r\n case 3: x= \u0022Three\u0022; break;\r\n case 4: x= \u0022Four\u0022; break;\r\n case 5: x= \u0022Five\u0022; break;\r\n}","IsDeferred":false},{"Name":"If (else) ","Code":"let x = \u0022\u0022;\r\nconst i = getRandomInt(6);\r\nif (i === 0) x = \u0022Zero\u0022\r\nelse if (i === 1) x = \u0022One\u0022\r\nelse if (i === 2) x = \u0022Two\u0022\r\nelse if (i === 3) x = \u0022Three\u0022\r\nelse if (i === 4) x = \u0022Four\u0022\r\nelse if (i === 5) x = \u0022Five\u0022\r\n","IsDeferred":false},{"Name":"Object selector","Code":"let x = \u0022\u0022;\r\nconst i = getRandomInt(6);\r\nx = {\r\n 0: \u0022Zero\u0022,\r\n 1: \u0022One\u0022,\r\n 2: \u0022Two\u0022,\r\n 3: \u0022Three\u0022,\r\n 4: \u0022Four\u0022,\r\n 5: \u0022Five\u0022,\r\n}[i];","IsDeferred":false}]}