Skip to content

Commit 65205ea

Browse files
authored
Update part4a.md
Make it clear that we're talking about the 2nd way of exporting and not the 2nd way of using functions (destructuring) right above
1 parent 7aa385d commit 65205ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/4/en/part4a.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,7 @@ info('message')
368368
error('error message')
369369
```
370370
371-
The latter way may be preferable if only a small portion of the exported functions are used in a file.
372-
373-
E.g. in file <i>controller/notes.js</i> exporting happens as follows:
371+
The second way of of exporting may be preferable if only a small portion of the exported functions are used in a file. E.g. in file <i>controller/notes.js</i> exporting happens as follows:
374372
375373
```js
376374
const notesRouter = require('express').Router()

0 commit comments

Comments
 (0)