{"ScriptPreparationCode":null,"TestCases":[{"Name":"1","Code":"const date = new Date();\r\nconst timeline = [];\r\nconst options = {\r\n hour: \u00272-digit\u0027,\r\n minute: \u00272-digit\u0027,\r\n hour12: true,\r\n};\r\n\r\nconst clone = new Date(date.getTime());\r\nfor (let i = 0; i \u003C= 96; i\u002B\u002B) {\r\n timeline.push(clone.toLocaleTimeString(undefined, options));\r\n clone.setMinutes(clone.getMinutes() \u002B 30);\r\n}","IsDeferred":false},{"Name":"2","Code":"const options = {\r\n hour: \u00272-digit\u0027,\r\n minute: \u00272-digit\u0027,\r\n hour12: true,\r\n};\r\nconst times = [];\r\nconst date = new Date();\r\nconst minute = (1000 * 60 * 30) / 60_000;\r\nconst len = Math.floor(2880 / minute);\r\n\r\nlet i = 0;\r\nwhile (i \u003C= len) {\r\n times.push(date.toLocaleTimeString(undefined, options));\r\n date.setMinutes(date.getMinutes() \u002B minute);\r\n i\u002B\u002B;\r\n}","IsDeferred":false}]}