{"ScriptPreparationCode":"function getRandomInt(max) {\r\n return Math.floor(Math.random() * Math.floor(max));\r\n}\r\n\r\nvar arr = [];\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n arr.push({\r\n value: getRandomInt(100)\r\n });\r\n}\r\n\r\nfunction getValue(ob) {\r\n return ob.value;\r\n}","TestCases":[{"Name":"_.maxBy","Code":"_.maxBy(arr, (o)=\u003EgetValue(o));","IsDeferred":false},{"Name":"Math.max and map","Code":"Math.max(arr.map(o =\u003E getValue(o)))","IsDeferred":false}]}