{"ScriptPreparationCode":"var max2 = 100000;\r\n\r\nvar data = [];\r\nfor (var i = 0; i \u003C= max2; i\u002B\u002B) { data.push({ id: i }); }","TestCases":[{"Name":"Lodash","Code":"_.groupBy(data, ({ id }) =\u003E id)","IsDeferred":false},{"Name":"Native","Code":"data.reduce((acc, item) =\u003E {\r\n const groupValue = (item[\u0027id\u0027] ?? \u0027\u0027).toString();\r\n const results = acc[groupValue] ?? [];\r\n results.push(item);\r\n acc[groupValue] = results;\r\n return acc;\r\n}, {})","IsDeferred":false}]}