[guide] clean up confusing example from bad rebase

... from
820745d610 (diff-04c6e90faac2675aa89e2176d2eec7d8R963-R965)
/ #1863.

Fixes #2071.
This commit is contained in:
Jordan Harband
2019-08-14 08:46:20 -07:00
parent a204cdf38a
commit 295d1e61cb

View File

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