Added parenthesis to 'good' example in 8.2

This commit is contained in:
Ray Sinlao
2016-02-04 00:00:58 -08:00
parent 06fab80dfa
commit 24e7fd0c14

View File

@@ -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}.`;
});