Skip to content

Commit 582c2e3

Browse files
committed
Integrate tech editing for Chapter 1
1 parent 7f6b06e commit 582c2e3

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

01_values.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ Almost anything can be put between quotes, and JavaScript will make a
257257
string value out of it. But a few characters are more difficult. You
258258
can imagine how putting quotes between quotes might be hard.
259259
_Newlines_ (the characters you get when you press Enter) may only be
260-
included when the string is quoted with backtick (`` ` ``). The other
261-
types of strings have to stay on a single line.
260+
included without escaping when the string is quoted with backticks
261+
(`` ` ``).
262262

263263
{{index [escaping, "in strings"], "backslash character"}}
264264

@@ -308,10 +308,11 @@ numbers.
308308

309309
And that's what JavaScript does. But there's a complication:
310310
JavaScript's representation uses 16 bits per string element, which can
311-
fit 2^16^ different numbers. But Unicode defines more characters than
312-
that—about twice as many, at this point. So some characters, such as
313-
many emoji, take up two "character positions" in JavaScript strings.
314-
We'll come back to this in [Chapter ?](higher_order#code_units).
311+
describe up to 2^16^ different characters. But Unicode defines more
312+
characters than that—about twice as many, at this point. So some
313+
characters, such as many emoji, take up two "character positions" in
314+
JavaScript strings. We'll come back to this in [Chapter
315+
?](higher_order#code_units).
315316

316317
{{index "+ operator", concatenation}}
317318

0 commit comments

Comments
 (0)