Skip to content

Commit 1352b4c

Browse files
committed
Update
1 parent 065db7e commit 1352b4c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ <h1>JavaScript Garden</h1>
5656
<p>If case you are interested in additional guidance or reviews concerning your JavaScript
5757
projects, Ivo Wetzel offers these on a freelance basis. Please feel free to
5858
contact him via <a href="mailto:[email protected]">e-mail</a> for further details.</p>
59+
</section><section><header><h3>Contributors</h3></header>
60+
<ul>
61+
<li><a href="https://github.com/caio">Caio Romão</a> (Spelling corrections)</li>
62+
</ul>
5963
</section><section><header><h3>License</h3></header>
6064
<p>JavaScript Garden is published under the <a href="https://github.com/BonsaiDen/JavaScript-Garden/blob/next/LICENSE">MIT license</a> and hosted on
6165
<a href="https://github.com/BonsaiDen/JavaScript-Garden">GitHub</a>. If you find errors or typos please <a href="https://github.com/BonsaiDen/JavaScript-Garden/issues">file an issue</a> or a pull
@@ -337,7 +341,7 @@ <h1>JavaScript Garden</h1>
337341
<code>foo</code> still gets created and defaults to the value of <code>undefined</code>; again, this
338342
is due to the lack of block scoping.</p>
339343
</section><section><header><h3>Order of parsing</h3></header>
340-
<p>All <code>var</code> statements get parsed <strong>before</strong> <code>function</code> declartions; hence,
344+
<p>All <code>var</code> statements get parsed <strong>before</strong> <code>function</code> declarations; hence,
341345
subsequent statements will override the previous ones.</p>
342346
<pre><code>function foo() {}
343347
var foo;
@@ -868,7 +872,7 @@ <h1>JavaScript Garden</h1>
868872
left to the "magic" of the languages complicated coercing rules.</p></section></article>
869873

870874
<article><section><header><h2 id="arrays">Arrays <a href="#intro">^</a></h2></header>
871-
<p>Although arrays in JavaScript are objects, there is are no good reasons to use
875+
<p>Although arrays in JavaScript are objects, there are no good reasons to use
872876
the <a href="#forinloop">for in loop</a> in for iteration on them. In fact there are a
873877
number of good reasons <strong>against</strong> the use of <code>for in</code> on arrays.</p>
874878
<aside>
@@ -1079,7 +1083,7 @@ <h1>JavaScript Garden</h1>
10791083
<a href="#typeof"><code>typeof</code></a> operator, every other use of it should be <strong>avoided</strong>.</p></section></article>
10801084

10811085
<article><section><header><h2 id="casting">Type casting <a href="#intro">^</a></h2></header>
1082-
<p>JavaScript is a <em>weakly typed</em> language, so it will apply <em>type ceorcion</em>
1086+
<p>JavaScript is a <em>weakly typed</em> language, so it will apply <em>type coercion</em>
10831087
wherever possible.</p>
10841088
<pre><code>// These are true
10851089
new Number(10) == 10; // Number.toString() is converted
@@ -1218,7 +1222,7 @@ <h1>JavaScript Garden</h1>
12181222
<p>Since JavaScript is asynchronous, it is possible to schedule the execution of a
12191223
function by using the <code>setTimeout</code> and <code>setInterval</code> functions.</p>
12201224
<aside>
1221-
<p><strong>Note:</strong> Timeouts are <strong>not</strong> part of the EcmaScript Standard, they are
1225+
<p><strong>Note:</strong> Timeouts are <strong>not</strong> part of the ECMAScript Standard, they are
12221226
implemented as part of the <a href="http://en.wikipedia.org/wiki/Document_Object_Model"><abbr title="Document Object Model"><abbr title="Document Object Model">DOM</abbr></abbr></a>.</p>
12231227
</aside>
12241228
<pre><code>function foo() {}
@@ -1366,7 +1370,7 @@ <h1>JavaScript Garden</h1>
13661370
foo: 1 // JavaScript supports single expression evaluation
13671371
// So 1 evaluates to 1 and no error is being raised
13681372

1369-
} // Automatic semicolon insertioN
1373+
} // Automatic semicolon insertion
13701374
</code></pre>
13711375
<p>After the parser has done its "magic", the resulting code has completely
13721376
different behavior.</p>

0 commit comments

Comments
 (0)