Skip to content

Commit 6e499cc

Browse files
committed
Added parenthesis to 'good' example in 8.2
1 parent e709375 commit 6e499cc

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)