{"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 // Group initialization\r\n if (!acc[item.id]) {\r\n acc[item.id] = [];\r\n }\r\n\r\n // Grouping\r\n acc[item.id].push(item);\r\n\r\n return acc;\r\n}, {});","IsDeferred":false}]}