Skip to content

Commit c66e5f9

Browse files
docs: make the maxLength example produce a non-empty result (#137)
* docs: make the maxLength example produce a non-empty result * Update README.md --------- Co-authored-by: Julian Gruber <julian@juliangruber.com>
1 parent 473d3e9 commit c66e5f9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ result count stays under `max` while each result grows very long.
7171

7272
```js
7373
const expansions = expand('{a,b}'.repeat(1500), {
74-
maxLength: 100,
74+
maxLength: 10_000,
7575
})
76-
// the combined length of expansions will not exceed 100 characters
7776
```
7877

7978
Valid expansions are:

0 commit comments

Comments
 (0)