Skip to content

Commit

Permalink
fix code example: Grouping data incrementally
Browse files Browse the repository at this point in the history
  • Loading branch information
dislido authored and dminor committed Feb 5, 2025
1 parent 4c1b90f commit 30349cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ for (let [key, ...values] of data) {
if (grouped.has(key)) {
grouped.get(key).push(...values);
} else {
grouped.set(key, ...values);
grouped.set(key, values);
}
}

Expand Down

0 comments on commit 30349cb

Please sign in to comment.