Skip to content

Commit e72c7a1

Browse files
committed
Add some errata
1 parent a9401f8 commit e72c7a1

3 files changed

Lines changed: 18 additions & 11 deletions

File tree

18_http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ HTML pages may include _((form))s_, which allow the user to fill out information
118118

119119
{{index form, "method attribute", "GET method"}}
120120

121-
This code describes a form with two ((field))s: a small one asking for a name and a larger one to write a message in. When you click the Send ((button)), the form is _submitted_, meaning that the content of its field is packed into an HTTP request and the browser navigates to the result of that request.
121+
This code describes a form with two ((field))s: a small one asking for a name and a larger one to write a message in. When you click the Send ((button)), the form is _submitted_, meaning that the content of its fields is packed into an HTTP request and the browser navigates to the result of that request.
122122

123123
When the `<form>` element's `method` attribute is `GET` (or is omitted), the information in the form is added to the end of the `action` URL as a _((query string))_. The browser might make a request to this URL:
124124

19_paint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function updateState(state, action) {
130130

131131
{{index "period character"}}
132132

133-
This pattern, in which object ((spread)) is used to first add the properties an existing object and then override some of those, is common in JavaScript code that uses ((immutable)) objects.
133+
This pattern, in which object ((spread)) is used to first add the properties of an existing object and then override some of those, is common in JavaScript code that uses ((immutable)) objects.
134134

135135
## DOM building
136136

html/errata.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,26 @@ <h1>Errata<div style="font-size: 70%"><a class="subtlelink" href="index.html">El
1717
of the book. For errata in other editions, see these pages: <a href="https://eloquentjavascript.net/1st_edition/errata.html">first</a>, <a href="https://eloquentjavascript.net/2nd_edition/errata.html">second</a>, <a href="https://eloquentjavascript.net/3rd_edition/errata.html">third</a>. To report a problem that is not listed
1818
here, <a href="mailto:marijn@haverbeke.berlin">send me an email</a>.</p>
1919

20-
<p><em>No issues found yet.</em></p>
20+
<!--<p>Issues whose page number is followed by an ordinal number are only
21+
present up to the print denoted by that number. I.e. those followed by
22+
“1st” were fixed in the second print.</p>-->
2123

22-
<!--
24+
<h2>Chapter 18</h2>
2325

24-
<p>Issues whose page number is followed by an ordinal number are only
25-
present up to the print denoted by that number. I.e. those followed by
26-
“1st” were fixed in the second print.</p>
26+
<p><strong>Page 304</strong> <em>Form Fields</em>: The screenshot of
27+
the form fields is missing the <code>color</code>
28+
and <code>date</code> fields.</p>
29+
30+
<h2>Chapter 19</h2>
2731

28-
<h2>Chapter 2</h2>
32+
<p><strong>Page 322</strong> <em>The State</em>: The sentence
33+
below <code>updateState</code> should read “properties of an existing
34+
object”, not “properties an existing object”.
2935

30-
<p><strong>Page 34</strong> (1st) <em>Updating Bindings Succintly</em>: Where it
31-
says <code>counter-</code> it should be <code>counter--</code>.</p>
36+
<h2>Chapter 22</h2>
3237

33-
-->
38+
<p><strong>Page 407</strong> <em>Prime Numbers</em>: The solution
39+
template starts <code>function primes*</code>, which puts the
40+
generator asterisk in the wrong place (<code>function* primes</code>).
3441

3542
</article>

0 commit comments

Comments
 (0)