Skip to content

Commit 98003b9

Browse files
committed
Edited ch09.asciidoc with Atlas code editor
1 parent a1d10e2 commit 98003b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch09.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ When it comes to quotes, `'` and `"` are more likely to be necessary when writin
229229
`Alfred's cat suit is "slick".`
230230
----
231231

232-
As we discovered in <<es6-essentials>>, there are also other features such as ((("tagged templates")))tagged templates, which makes it easy to sanitize or otherwise manipulate interpolated expressions. While useful, tagged templates are not as pervasively beneficial as multiline support, expression interpolation, or reduced escaping.
232+
As we discovered in <<es6-essentials>>, there are also other features such as ((("tagged templates")))tagged templates, which make it easy to sanitize or otherwise manipulate interpolated expressions. While useful, tagged templates are not as pervasively beneficial as multiline support, expression interpolation, or reduced escaping.
233233

234234
The combination of all of these features warrants considering template literals as the default string flavor over ((("template literals", "quotes and backticks", id="tl9qab")))single- or double-quoted strings. There are a few concerns usually raised when template literals are proposed as the default style. We'll go over each concern and address each individually. You can then decide for yourself.
235235

@@ -492,7 +492,7 @@ const summary = `This is a ${ name } summary`
492492
const description = `${ name } is a grocery item`
493493
----
494494

495-
Destructuring is as valuable as the amount of references to host objects it eliminates, but the amount of properties being referenced can dillute value, because of increased repetition in the destructuring statement. In short, destructuring is a great feature but it doesn't necessarily lead to more readable code every time. Use it judiciously, especially when there's not that many host references being ((("destructuring", "objects", startref="d9")))removed.
495+
Destructuring is as valuable as the amount of references to host objects it eliminates, but the amount of properties being referenced can dilute value, because of increased repetition in the destructuring statement. In short, destructuring is a great feature but it doesn't necessarily lead to more readable code every time. Use it judiciously, especially when there aren't that many host references being ((("destructuring", "objects", startref="d9")))removed.
496496

497497
=== Rest and Spread
498498

0 commit comments

Comments
 (0)