Skip to content

Commit a86d546

Browse files
committed
[Docs] remove yet another wrapped-string "good" example
1 parent 11b9adf commit a86d546

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,7 @@ Other Style Guides
878878

879879
// good
880880
[1, 2, 3].map(number => (
881-
`A long string with the ${number}. It’s so long that we’ve broken it ` +
882-
'over multiple lines!'
881+
`A long string with the ${number}. It’s so long that we don’t want it to take up space on the .map line!`
883882
));
884883

885884
// bad

0 commit comments

Comments
 (0)