Skip to content

Commit 9ba208f

Browse files
committed
minor fixes
1 parent f2636ee commit 9ba208f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/13-modules/01-modules-intro/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ export function sayHi() {
206206

207207
Here, `admin.js` exports the `config` object (initially empty, but may have default properties too).
208208

209-
Then in `init.js`, the first script of our app, we set `config.user`:
209+
Then in `init.js`, the first script of our app, we import `config` from it and set `config.user`:
210210

211211
```js
212212
// 📁 init.js
213213
import {config} from './admin.js';
214214
config.user = "Pete";
215215
```
216216

217-
...Now the module is configured.
217+
...Now the module `admin.js` is configured.
218218

219219
Further importers can call it, and it correctly shows the current user:
220220

0 commit comments

Comments
 (0)