Skip to content

Commit

Permalink
[guide] clean up confusing example from bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 14, 2019
1 parent a204cdf commit 295d1e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -960,9 +960,6 @@ Other Style Guides
`A string containing the ${nextNumber}.`;
});

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

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

Expand Down

0 comments on commit 295d1e6

Please sign in to comment.