Skip to content

Commit 88ee15e

Browse files
committed
Update README.
1 parent b79e9b9 commit 88ee15e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Returns an array containing the property keys and values of the specified object
223223
entries({foo: 42, bar: true}); // [{key: "foo", value: 42}, {key: "bar", value: true}]
224224
```
225225

226-
### <a name="_nest"></a> Nest
226+
### Nest
227227

228228
Nesting allows elements in an array to be grouped into a hierarchical tree structure; think of it like the GROUP BY operator in SQL, except you can have multiple levels of grouping, and the resulting output is a tree rather than a flat table. The levels in the tree are specified by key functions. The leaf nodes of the tree can be sorted by value, while the internal nodes can be sorted by key. An optional rollup function will collapse the elements in each leaf node using a summary function. The nest operator (the object returned by [nest](#nest)) is reusable, and does not retain any references to the data that is nested.
229229

0 commit comments

Comments
 (0)