Skip to content

Commit a2884dc

Browse files
committed
fixed syntax error in flatMap.
1 parent 711fd83 commit a2884dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_data/stage3.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
example: >
147147
[1, [2, [3]]].flat(Infinity); // [1,2,3]
148148
149-
[2, 3, 4].flatMap((x) => [x, x * 2]); // [[2, 4, 3, 6, 4, 8]
149+
[2, 3, 4].flatMap((x) => [x, x * 2]); // [2, 4, 3, 6, 4, 8]
150150
resources:
151151
- https://github.com/tc39/proposal-flatMap
152152

0 commit comments

Comments
 (0)