Skip to content

Commit 741a482

Browse files
authored
Merge pull request #3510 from stritch-dev/source
Some word choice changes
2 parents 84ae2d5 + 4801c03 commit 741a482

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/3/en/part3a.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Let's navigate to an appropriate directory, and create a new template for our ap
3939

4040
The file defines, for instance, that the entry point of the application is the <i>index.js</i> file.
4141

42-
Let's make a small change to the <i>scripts</i> object:
42+
Let's make a small change to the <i>scripts</i> object by adding a new script command.
4343

4444
```bash
4545
{
@@ -154,7 +154,7 @@ import http from 'http'
154154

155155
These days, code that runs in the browser uses ES6 modules. Modules are defined with an [export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export) and taken into use with an [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import).
156156

157-
Node.js uses by default so-called [CommonJS](https://en.wikipedia.org/wiki/CommonJS) modules. The reason for this is that the Node ecosystem needed modules long before JavaScript supported them in the language specification. Currently, Node also supports the use of ES6 modules, but since the support is not quite perfect yet, we'll stick to CommonJS modules.
157+
Node.js uses [CommonJS](https://en.wikipedia.org/wiki/CommonJS) modules. The reason for this is that the Node ecosystem needed modules long before JavaScript supported them in the language specification. Currently, Node also supports the use of ES6 modules, but since the support is not quite perfect yet, we'll stick to CommonJS modules.
158158

159159
CommonJS modules function almost exactly like ES6 modules, at least as far as our needs in this course are concerned.
160160

@@ -950,7 +950,7 @@ POST is the only HTTP request type that is neither <i>safe</i> nor <i>idempotent
950950

951951
### Middleware
952952

953-
The express [json-parser](https://expressjs.com/en/api.html) we took into use earlier is a so-called [middleware](http://expressjs.com/en/guide/using-middleware.html).
953+
The express [json-parser](https://expressjs.com/en/api.html) used earlier is a [middleware](http://expressjs.com/en/guide/using-middleware.html).
954954

955955
Middleware are functions that can be used for handling _request_ and _response_ objects.
956956

0 commit comments

Comments
 (0)