Skip to content

Commit 15ef0b7

Browse files
author
Andy Sturges
committed
minor grammar updates; added one <em> tag
1 parent e99bb7d commit 15ef0b7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h3>Structure of this document</h3>
200200
<p>
201201
As promised, along the way we will learn about some of the more
202202
advanced concepts of JavaScript, how to make use of them, and
203-
looking at why it makes sense to use these concepts instead of
203+
look at why it makes sense to use these concepts instead of
204204
those we know from other programming languages.
205205
</p>
206206

@@ -262,9 +262,9 @@ <h3>JavaScript and You</h3>
262262
JavaScript, you are actually developing it.
263263
</p>
264264
<p>
265-
Because that's the catch, you already are an experienced
265+
Because that's the catch: you already are an experienced
266266
developer, you don't want to learn a new technique by just
267-
hacking around and mis-using it, you want to be sure that
267+
hacking around and mis-using it; you want to be sure that
268268
you are approaching it from the right angle.
269269
</p>
270270
<p>
@@ -294,7 +294,7 @@ <h3>A word of warning</h3>
294294
more like "from novice to advanced novice".
295295
</p>
296296
<p>
297-
If I don't fail, then this here will be the kind of
297+
If I don't fail, then this will be the kind of
298298
document I wish I had when starting with node.js.
299299
</p>
300300

@@ -304,20 +304,20 @@ <h3>Server-side JavaScript</h3>
304304
But this is just the context. It defines what you can
305305
do with the language, but it doesn't say much about what
306306
the language itself can do. JavaScript is a "complete"
307-
language, you can use it in many contexts and achieve
307+
language: you can use it in many contexts and achieve
308308
everything with it you can achieve with any other
309309
"complete" language.
310310
</p>
311311
<p>
312-
node.js really is just another context: it allows to run
312+
node.js really is just another context: it allows you to run
313313
JavaScript code in the backend, outside a browser.
314314
</p>
315315
<p>
316316
In order to execute the JavaScript you intend to run in the
317317
backend, it needs to be interpreted and, well, executed.
318318
This is what node.js does, by making use of Google's V8 VM, the
319-
same runtime environment for JavaScript that used in Google
320-
Chrome.
319+
same runtime environment for JavaScript that Google
320+
Chrome uses.
321321
</p>
322322
<p>
323323
Plus, node.js ships with a lot of useful modules, so you don't
@@ -396,7 +396,7 @@ <h3>The use cases</h3>
396396
</p>
397397
<p>
398398
Furthermore, we don't want to write only the most basic
399-
code to achieve the goal, how elegant and correct this code
399+
code to achieve the goal, however elegant and correct this code
400400
might be. We will intentionally add more abstraction than
401401
necessary in order to get a feeling for building more
402402
complex node applications.
@@ -620,7 +620,7 @@ <h4>Passing functions around</h4>
620620
</p>
621621
<p>
622622
We can, as we just did, pass a function as a parameter to
623-
another function by it name. But we don't have to take this
623+
another function by its name. But we don't have to take this
624624
indirection of first defining, then passing it - we can
625625
define and pass a function as a parameter to another
626626
function in-place:
@@ -852,7 +852,7 @@ <h4>Finding a place for our server module</h4>
852852
</p>
853853
<p>
854854
Let's talk about how to make server.js a real node module
855-
that can be used by our yet to write index.js main file.
855+
that can be used by our yet-to-be-written <em>index.js</em> main file.
856856
</p>
857857
<p>
858858
As you may have noticed, we already used modules in our code,
@@ -1164,7 +1164,7 @@ <h4>Execution in the kingdom of verbs</h4>
11641164
</p>
11651165
<p>
11661166
Passing functions is not only a technical consideration.
1167-
In regards of software design, it's almost philosophical.
1167+
With regard to software design, it's almost philosophical.
11681168
Just think about it: in our index file, we could have passed
11691169
the <em>router</em> object into the server, and the server
11701170
could have called this object's <em>route</em> function.

0 commit comments

Comments
 (0)