{"ScriptPreparationCode":"function randomDate(start, end) {\r\n const date = new Date(start.getTime() \u002B Math.random() * (end.getTime() - start.getTime()));\r\n return \u0060${date.getFullYear()}-${date.getMonth()}-${date.getDay()}\u0060;\r\n}\r\n\r\nvar arr = [];\r\nfor(var i = 0; i \u003C 1000; i\u002B\u002B){\r\n arr.push(randomDate(new Date(2012, 0, 1), new Date()));\r\n}\r\nconsole.log(arr[0])\r\n\r\n","TestCases":[{"Name":"_.min","Code":"_.min(arr);","IsDeferred":false},{"Name":"sort.localeCompare","Code":"arr.sort(function(a, b) {return a.localeCompare(b);});","IsDeferred":false}]}