{"ScriptPreparationCode":null,"TestCases":[{"Name":"For loop","Code":"const size = 100000\r\nconst generateRandomDigit = () =\u003E Math.floor(Math.random() * 10)\r\nconst generateRandomLetter = () =\u003E String.fromCharCode(Math.floor(Math.random() * 26) \u002B 65)\r\n\r\nfor (var i = 0; i \u003C size; i\u002B\u002B) {\r\n generateRandomDigit()\r\n generateRandomLetter()\r\n}","IsDeferred":false},{"Name":"While loop","Code":"const size = 100000\r\nconst generateRandomDigit = () =\u003E Math.floor(Math.random() * 10)\r\nconst generateRandomLetter = () =\u003E String.fromCharCode(Math.floor(Math.random() * 26) \u002B 65)\r\n\r\nlet c = 0 \r\n\r\ndo {\r\n c\u002B\u002B\r\n generateRandomDigit()\r\n generateRandomLetter()\r\n} while(c \u003C= size)","IsDeferred":false}]}