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
marcolane committed Feb 4, 2016
1 parent 220cbf3 commit 9c47f91
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 9c47f91

Please sign in to comment.