{"ScriptPreparationCode":"var arr = []\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr.push(Math.random() * i)\r\n}","TestCases":[{"Name":"Max with apply","Code":"Math.max.apply(Math, arr)","IsDeferred":false},{"Name":"Max with spread operator","Code":"Math.max(...arr)","IsDeferred":false},{"Name":"Reduce","Code":"arr.reduce((a, b) =\u003E Math.max(a, b))","IsDeferred":false},{"Name":"Reduce directly","Code":"arr.reduce((prev, current) =\u003E current \u003E prev ? current : prev)","IsDeferred":false}]}