Skip to content

Commit f979991

Browse files
📚 docs(README): Fix typo.
1 parent 488514d commit f979991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ return tree.empty() ? 'empty' : 'not empty' ;
177177
Returns a new tree with an additional value as the new right-most value.
178178

179179
```js
180-
tree = tree.cons('k');
180+
tree = tree.push('k');
181181
```
182182

183183
#### `Tree#cons(x) -> Tree`

0 commit comments

Comments
 (0)