Skip to content

Commit 295d1e6

Browse files
committed
[guide] clean up confusing example from bad rebase
... from airbnb@820745d#diff-04c6e90faac2675aa89e2176d2eec7d8R963-R965 / airbnb#1863. Fixes airbnb#2071.
1 parent a204cdf commit 295d1e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,9 +960,6 @@ Other Style Guides
960960
`A string containing the ${nextNumber}.`;
961961
});
962962

963-
// bad
964-
[1, 2, 3].map((number) => `A string containing the ${number}.`);
965-
966963
// good
967964
[1, 2, 3].map((number) => `A string containing the ${number + 1}.`);
968965

0 commit comments

Comments
 (0)