Skip to content

Commit

Permalink
Added parenthesis to 'good' example in 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RaySinlao authored and jaylaw81 committed Sep 19, 2017
1 parent 1d8249b commit dc45a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ Other Style Guides
});

// good
[1, 2, 3].map(number => {
[1, 2, 3].map((number) => {
const nextNumber = number + 1;
return `A string containing the ${nextNumber}.`;
});
Expand Down

0 comments on commit dc45a6e

Please sign in to comment.