Skip to content

Commit

Permalink
[guide] make "good" example match "bad" example more closely
Browse files Browse the repository at this point in the history
  • Loading branch information
ziishaned authored and ljharb committed Feb 6, 2019
1 parent 96f95fa commit 6ef45d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -963,7 +963,7 @@ Other Style Guides
});

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

// good
[1, 2, 3].map((number) => {
Expand Down

0 comments on commit 6ef45d4

Please sign in to comment.