Skip to content

Commit 6a926ea

Browse files
RaySinlaogilbox
authored andcommitted
Added parenthesis to 'good' example in 8.2
1 parent 1ddf2d0 commit 6a926ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ Other Style Guides
716716
});
717717

718718
// good
719-
[1, 2, 3].map(number => {
719+
[1, 2, 3].map((number) => {
720720
const nextNumber = number + 1;
721721
return `A string containing the ${nextNumber}.`;
722722
});

0 commit comments

Comments
 (0)