diff --git a/README.md b/README.md index 1366d5e0..f07a2c40 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ root You must call *node*.sort before invoking a hierarchical layout if you want the new sort order to affect the layout; see [*node*.sum](#node_sum) for an example. -# node[Symbol.iterator]() [<>](https://github.com/d3/d3-hierarchy/blob/master/src/hierarchy/iterator.js "Source") +# node\[Symbol.iterator\]() [<>](https://github.com/d3/d3-hierarchy/blob/master/src/hierarchy/iterator.js "Source") Returns an iterator over the *node*’s descendants in breadth-first order. For example: