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