We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2636ee commit 9ba208fCopy full SHA for 9ba208f
1-js/13-modules/01-modules-intro/article.md
@@ -206,15 +206,15 @@ export function sayHi() {
206
207
Here, `admin.js` exports the `config` object (initially empty, but may have default properties too).
208
209
-Then in `init.js`, the first script of our app, we set `config.user`:
+Then in `init.js`, the first script of our app, we import `config` from it and set `config.user`:
210
211
```js
212
// 📁 init.js
213
import {config} from './admin.js';
214
config.user = "Pete";
215
```
216
217
-...Now the module is configured.
+...Now the module `admin.js` is configured.
218
219
Further importers can call it, and it correctly shows the current user:
220
0 commit comments