From 9ba208f6ecb31df7bee5c2a70b074734c4e1d40e Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 24 May 2021 11:59:19 +0300 Subject: [PATCH] minor fixes --- 1-js/13-modules/01-modules-intro/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/13-modules/01-modules-intro/article.md b/1-js/13-modules/01-modules-intro/article.md index 9e4bc940..244df5fb 100644 --- a/1-js/13-modules/01-modules-intro/article.md +++ b/1-js/13-modules/01-modules-intro/article.md @@ -206,7 +206,7 @@ export function sayHi() { Here, `admin.js` exports the `config` object (initially empty, but may have default properties too). -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`: ```js // 📁 init.js @@ -214,7 +214,7 @@ import {config} from './admin.js'; config.user = "Pete"; ``` -...Now the module is configured. +...Now the module `admin.js` is configured. Further importers can call it, and it correctly shows the current user: