Skip to content

Commit 7bb8c9f

Browse files
btpschroederljharb
authored andcommitted
[guide] Fix iterator code example error
The first "good" example was missing a closing bracket (line 1377).
1 parent cd4ec62 commit 7bb8c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ Other Style Guides
13741374
let sum = 0;
13751375
numbers.forEach((num) => {
13761376
sum += num;
1377-
);
1377+
});
13781378
sum === 15;
13791379
13801380
// best (use the functional force)

0 commit comments

Comments
 (0)