Skip to content

Commit 18fc653

Browse files
authored
docs: fix Method-Chaining example results (marpple#276)
1 parent 9d837ea commit 18fc653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs_md/method-chaining.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ fx([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
1414
.reduce(sum); // 4
1515

1616
fx("abc")
17-
.map((a) => a.toUpperCase()) // ["a", "b"]
17+
.map((a) => a.toUpperCase()) // ["A", "B"]
1818
.take(2)
19-
.toArray(); // ["a", "b"]
19+
.toArray(); // ["A", "B"]
2020
```
2121

2222
**Note: Since `fx` defaults to lazy evaluation, it is not actually evaluated until strict evaluation methods such as `toArray`, `groupBy`, `indexBy`, and `some` are executed.**

0 commit comments

Comments
 (0)